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:
a362690
)
Replace a very unusual variable declaration by a more conventional one
author
Volker Lendecke
<vl@samba.org>
Tue, 17 Jun 2008 12:31:07 +0000
(14:31 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 17 Jun 2008 13:08:06 +0000
(15:08 +0200)
(cherry picked from commit
b37030644e32249706d431ad93881d540f351c50
)
source/nsswitch/libwbclient/wbc_sid.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/libwbclient/wbc_sid.c
b/source/nsswitch/libwbclient/wbc_sid.c
index deec8e57c97206c30e642b294c7007dbbc48fb70..500be2f3421d8c11afb89344774b73f53603fa43 100644
(file)
--- a/
source/nsswitch/libwbclient/wbc_sid.c
+++ b/
source/nsswitch/libwbclient/wbc_sid.c
@@
-59,7
+59,7
@@
wbcErr wbcSidToString(const struct wbcDomainSid *sid,
BAIL_ON_PTR_ERROR(tmp, wbc_status);
for (i=0; i<sid->num_auths; i++) {
- char *tmp2
=
+ char *tmp2
;
tmp2 = talloc_asprintf_append(tmp, "-%u", sid->sub_auths[i]);
BAIL_ON_PTR_ERROR(tmp2, wbc_status);