summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-03 12:37:44 +0000
committerTim Potter <tpot@samba.org>2005-09-03 12:37:44 +0000
commitfb594961b60bf4965e83e0c16856814548550ad1 (patch)
tree037666ee3f7d3720b34ddb4fc06f9f9f50d33cc1 /source/lib
parent0c96bf22f36eee3f5dc3e7e08215fc5d298c36e6 (diff)
downloadsamba-fb594961b60bf4965e83e0c16856814548550ad1.tar.gz
samba-fb594961b60bf4965e83e0c16856814548550ad1.tar.xz
samba-fb594961b60bf4965e83e0c16856814548550ad1.zip
r9993: Gcc is fussy about the lack of parentheses around assignment statements.
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/cmdline/popt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/cmdline/popt_common.c b/source/lib/cmdline/popt_common.c
index d3bd0a35a4b..333004e9659 100644
--- a/source/lib/cmdline/popt_common.c
+++ b/source/lib/cmdline/popt_common.c
@@ -221,7 +221,7 @@ static void popt_common_credentials_callback(poptContext con,
cli_credentials_parse_string(cmdline_credentials, arg, CRED_SPECIFIED);
/* This breaks the abstraction, including the const above */
- if (lp=strchr_m(arg,'%')) {
+ if ((lp=strchr_m(arg,'%'))) {
lp[0]='\0';
lp++;
memset(lp,0,strlen(lp));