git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b90927
)
r1583: Patch by Fabien Chevalier <fabien.chevalier@supelec.fr>
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 25 Jul 2004 13:14:00 +0000
(13:14 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:52:15 +0000
(10:52 -0500)
We may not have any interfaces up at all, so initialise the return variable.
Fixes Debian bug #252591
Andrew Bartlett
(This used to be commit
35aabae9d9bf66ef2c8eb4e07a850c606d8236d2
)
source3/nsswitch/wins.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/wins.c
b/source3/nsswitch/wins.c
index b71995998f578468203b770a08d79d36baf6950d..a1c4f4deec058c0e5291611b6403a196fec2dee1 100644
(file)
--- a/
source3/nsswitch/wins.c
+++ b/
source3/nsswitch/wins.c
@@
-90,7
+90,7
@@
static struct in_addr *lookup_byname_backend(const char *name, int *count)
{
int fd = -1;
struct ip_service *address = NULL;
- struct in_addr *ret;
+ struct in_addr *ret
= NULL
;
int j, flags = 0;
if (!initialised) {