diff options
Diffstat (limited to 'user.c')
-rw-r--r-- | user.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |