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:
2829a53
)
s3: Fix Coverity ID 2200: NULL_RETURNS (cut&paste error)
author
Volker Lendecke
<vl@samba.org>
Sun, 27 Mar 2011 18:57:45 +0000
(20:57 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 27 Mar 2011 21:18:52 +0000
(23:18 +0200)
(cherry picked from commit
240aeeb588a1c3f7f05efcf313cde3d06cce7720
)
nsswitch/libwbclient/wbc_util.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_util.c
b/nsswitch/libwbclient/wbc_util.c
index 6d7a96c89801523145fb414bbdcb53b8f014696c..d783ba36d874954039274a09138d6f4164dbdb67 100644
(file)
--- a/
nsswitch/libwbclient/wbc_util.c
+++ b/
nsswitch/libwbclient/wbc_util.c
@@
-234,7
+234,7
@@
wbcErr wbcDcInfo(const char *domain, size_t *num_dcs,
BAIL_ON_PTR_ERROR(names, wbc_status);
ips = wbcAllocateStringArray(response.data.num_entries);
- BAIL_ON_PTR_ERROR(
name
s, wbc_status);
+ BAIL_ON_PTR_ERROR(
ip
s, wbc_status);
wbc_status = WBC_ERR_INVALID_RESPONSE;