diff options
author | Tim Potter <tpot@samba.org> | 2005-09-03 12:37:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:36:27 -0500 |
commit | 7f66d5ce255b07d5ae0c35a95340d2401c6409bb (patch) | |
tree | fc2f7dd16d8c41bec6a6e8d1b3cc7a0359510065 /source4 | |
parent | 3caab0a64d5206d33f885a39fd1f0397235c579b (diff) | |
download | samba-7f66d5ce255b07d5ae0c35a95340d2401c6409bb.tar.gz samba-7f66d5ce255b07d5ae0c35a95340d2401c6409bb.tar.bz2 samba-7f66d5ce255b07d5ae0c35a95340d2401c6409bb.zip |
r9993: Gcc is fussy about the lack of parentheses around assignment statements.
(This used to be commit 908ba892598af83ae2fbe661d40e9f10ff3e34a0)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/cmdline/popt_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c index d3bd0a35a4..333004e965 100644 --- a/source4/lib/cmdline/popt_common.c +++ b/source4/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)); |