git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f1c21
)
small change in name_resolve_bcast()
author
Jean-François Micouleau
<jfm@samba.org>
Thu, 4 Apr 2002 15:50:28 +0000
(15:50 +0000)
committer
Jean-François Micouleau
<jfm@samba.org>
Thu, 4 Apr 2002 15:50:28 +0000
(15:50 +0000)
spotted by alexander bokovoy.
it shouldn't break anything. if it's wrong, feel free to revert but
explain why.
J.F.
(This used to be commit
638c692525c050ecdf414d461ef6b4aed3ce51db
)
source3/libsmb/namequery.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/namequery.c
b/source3/libsmb/namequery.c
index cd175dcd1dd85f45937eb6dd32374d077699d54d..7928d44652574361e58c6fe03b4de133d1f95534 100644
(file)
--- a/
source3/libsmb/namequery.c
+++ b/
source3/libsmb/namequery.c
@@
-671,7
+671,7
@@
BOOL name_resolve_bcast(const char *name, int name_type,
for( i = num_interfaces-1; i >= 0; i--) {
struct in_addr sendto_ip;
/* Done this way to fix compiler error on IRIX 5.x */
- sendto_ip = *iface_
bcast(*iface_n_ip(i)
);
+ sendto_ip = *iface_
n_bcast(i
);
*return_ip_list = name_query(sock, name, name_type, True,
True, sendto_ip, return_count);
if(*return_ip_list != NULL) {