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:
a97b33b
)
Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)
author
Jeremy Allison
<jra@samba.org>
Sat, 27 Oct 2007 19:51:38 +0000
(12:51 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sat, 27 Oct 2007 19:51:38 +0000
(12:51 -0700)
from Volker's patch.
Jeremy.
(This used to be commit
9f82a5766968dc72db5a86ad0afc71e8cffd5be0
)
source3/client/smbmount.c
patch
|
blob
|
history
diff --git
a/source3/client/smbmount.c
b/source3/client/smbmount.c
index 7636adb2a72bca8fc568d7fc3921d251226e8d8a..0c57c405cf840b2ab4c4bda9ea1b9fda09a600b0 100644
(file)
--- a/
source3/client/smbmount.c
+++ b/
source3/client/smbmount.c
@@
-146,7
+146,7
@@
static struct cli_state *do_connection(char *the_service)
make_nmb_name(&called , server, 0x20);
again:
- zero_addr(&ip,
INADDR_ANY
);
+ zero_addr(&ip,
AF_INET
);
if (have_ip) ip = dest_ip;
/* have to open a new connection */