diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-08 18:24:08 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-03-10 10:25:19 +0100 |
commit | c22151ea3a7fe0e07e46802ec7cd57ba1694262f (patch) | |
tree | 8f257eccba0a4b04ee8cdd171ace78b7dc554000 /nsswitch | |
parent | 494d497b99df08603555ff6a981482937d44b124 (diff) | |
download | samba-c22151ea3a7fe0e07e46802ec7cd57ba1694262f.tar.gz samba-c22151ea3a7fe0e07e46802ec7cd57ba1694262f.tar.bz2 samba-c22151ea3a7fe0e07e46802ec7cd57ba1694262f.zip |
libwbclient: Remove a pointless check
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/libwbclient/wbc_sid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c index e94d874a48..e8148aa7f8 100644 --- a/nsswitch/libwbclient/wbc_sid.c +++ b/nsswitch/libwbclient/wbc_sid.c @@ -152,8 +152,9 @@ wbcErr wbcStringToSid(const char *str, } sid->sub_auths[sid->num_auths++] = x; - if ((*q!='-') || (*q=='\0')) + if (*q != '-') { break; + } p = q + 1; } |