git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
494d497
)
libwbclient: Remove a pointless check
author
Volker Lendecke
<vl@samba.org>
Tue, 8 Mar 2011 17:24:08 +0000
(18:24 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Thu, 10 Mar 2011 09:25:19 +0000
(10:25 +0100)
nsswitch/libwbclient/wbc_sid.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_sid.c
b/nsswitch/libwbclient/wbc_sid.c
index e94d874a4817754421d4d5e8c7a72fe246966217..e8148aa7f8c19b7dbbc3d85c958206d8e26582d8 100644
(file)
--- 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;
}