diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-18 10:12:50 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-18 10:12:50 +0200 |
commit | 564b66968bd4eec0d342a3925743e7e5b16e6497 (patch) | |
tree | bfaacd236a0ac93f968423909377828b441a1172 /src | |
parent | reduce code complexity (diff) | |
download | mds-564b66968bd4eec0d342a3925743e7e5b16e6497.tar.gz mds-564b66968bd4eec0d342a3925743e7e5b16e6497.tar.bz2 mds-564b66968bd4eec0d342a3925743e7e5b16e6497.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libmdsserver/macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h index 95f705f..3f7b831 100644 --- a/src/libmdsserver/macros.h +++ b/src/libmdsserver/macros.h @@ -211,7 +211,7 @@ * @return :int Whether the strings are equal */ #define strequals(a, b) \ - (strcmp(a, b) == 0) + ((a == b) || (strcmp(a, b) == 0)) /** |