summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-11-16 21:51:51 +0100
committerMichael Adam <obnox@samba.org>2009-11-16 21:52:34 +0100
commita664dee4f66d0bf55ada7f038661ba119d2998db (patch)
tree4aab3e5e140203c0d4a025673922daeb066e9908
parent45a56e468d18b61563c0c70bee18afbed712043c (diff)
set_string_arg: Remove unneccesary check for determining the return code.
-rw-r--r--src/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 7ab4329..9660ed0 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -387,7 +387,7 @@ static int set_string_arg (char **var, const char *line, regmatch_t * match)
*var = arg;
- return *var ? 0 : -1;
+ return 0;
}
static int get_bool_arg (const char *line, regmatch_t * match)