diff options
author | Gerald Carter <jerry@samba.org> | 2006-01-30 13:32:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:06:19 -0500 |
commit | 485f0370942880a71095da5096e414b28193b150 (patch) | |
tree | c9e7665edb4ceded6e7d78767f90768a8234d475 /source/nsswitch/wbinfo.c | |
parent | c068df483f44a23ad813acd10d583be863128382 (diff) | |
download | samba-485f0370942880a71095da5096e414b28193b150.tar.gz samba-485f0370942880a71095da5096e414b28193b150.tar.xz samba-485f0370942880a71095da5096e414b28193b150.zip |
r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
Diffstat (limited to 'source/nsswitch/wbinfo.c')
-rw-r--r-- | source/nsswitch/wbinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c index b7c3b0a98c5..793a05f1790 100644 --- a/source/nsswitch/wbinfo.c +++ b/source/nsswitch/wbinfo.c @@ -47,7 +47,7 @@ static char winbind_separator_int(BOOL strict) NSS_STATUS_SUCCESS) { d_fprintf(stderr, "could not obtain winbind separator!\n"); if (strict) { - return -1; + return 0; } /* HACK: (this module should not call lp_ funtions) */ return *lp_winbind_separator(); @@ -59,7 +59,7 @@ static char winbind_separator_int(BOOL strict) if (!sep) { d_fprintf(stderr, "winbind separator was NULL!\n"); if (strict) { - return -1; + return 0; } /* HACK: (this module should not call lp_ funtions) */ sep = *lp_winbind_separator(); @@ -1217,7 +1217,7 @@ int main(int argc, char **argv) break; case OPT_SEPARATOR: { const char sep = winbind_separator_int(True); - if (sep == -1) { + if ( !sep ) { goto done; } d_printf("%c\n", sep); |