diff options
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)) /** |