git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a3c12
)
return the resolved IP on a cli_connect() call so it can be cached
author
Andrew Tridgell
<tridge@samba.org>
Mon, 19 Oct 1998 01:05:11 +0000
(
01:05
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 19 Oct 1998 01:05:11 +0000
(
01:05
+0000)
(This used to be commit
4e3f8ef41b8de25dec4c01d5532dca1b567be55a
)
source3/libsmb/clientgen.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clientgen.c
b/source3/libsmb/clientgen.c
index 3ed80eb7a679f8710287fa7ae790ed9ace8ff2eb..48abbd7a1562b1ab8cbb6d69d2b3975f633ac6c5 100644
(file)
--- a/
source3/libsmb/clientgen.c
+++ b/
source3/libsmb/clientgen.c
@@
-2269,6
+2269,7
@@
BOOL cli_connect(struct cli_state *cli, char *host, struct in_addr *ip)
if (!resolve_name( cli->desthost, &dest_ip, 0x20)) {
return False;
}
+ if (ip) *ip = dest_ip;
} else {
dest_ip = *ip;
}