aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-18 11:54:45 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-18 11:54:45 +0200
commitb64e5b3644b4c097e6ef72941e59c0abeb5f6502 (patch)
treefcccd8aafec3780fe80bd476f033969e837cf585 /src/libmdsserver
parentm (diff)
downloadmds-b64e5b3644b4c097e6ef72941e59c0abeb5f6502.tar.gz
mds-b64e5b3644b4c097e6ef72941e59c0abeb5f6502.tar.bz2
mds-b64e5b3644b4c097e6ef72941e59c0abeb5f6502.tar.xz
reduce code complexity
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libmdsserver')
-rw-r--r--src/libmdsserver/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h
index 3f7b831..95f705f 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) \
- ((a == b) || (strcmp(a, b) == 0))
+ (strcmp(a, b) == 0)
/**