summaryrefslogtreecommitdiff
path: root/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'user.c')
-rw-r--r--user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/user.c b/user.c
index 0c0ac94..6810142 100644
--- a/user.c
+++ b/user.c
@@ -109,13 +109,13 @@ static int user_cfg_handler( void *user, const char *section, const char *name,
const char *value )
{
user_config_file *cfg = (user_config_file *)user;
-
- #define MATCH(s,n) strcmp(section,s) == 0 && strcmp(name,n)==0
+#define MATCH(s,n) strcmp(section,s) == 0 && strcmp(name,n)==0
if ( MATCH("user","password") )
{
cfg->password = strdup( value );
}
+#undef MATCH
return 1;
}