git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d069c36
)
r4922: fixed an infinite loop in the name resolve code when handling a method
author
Andrew Tridgell
<tridge@samba.org>
Sat, 22 Jan 2005 02:08:30 +0000
(
02:08
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:09:06 +0000
(13:09 -0500)
in smb.conf that isn't implemented in the library
(This used to be commit
dd5b43ed37b37feec4708f8f13033b42eb6a838c
)
source4/libcli/resolve/resolve.c
patch
|
blob
|
history
diff --git
a/source4/libcli/resolve/resolve.c
b/source4/libcli/resolve/resolve.c
index ef906d4ed00b26e8d31570e0c305b97ed1fb9371..054f10d529c775c73ad30ce8ba4ee566029e4845 100644
(file)
--- a/
source4/libcli/resolve/resolve.c
+++ b/
source4/libcli/resolve/resolve.c
@@
-99,10
+99,8
@@
static struct smbcli_composite *setup_next_method(struct smbcli_composite *c)
const struct resolve_method *method = find_method(state->methods[0]);
if (method) {
req = method->send_fn(&state->name, c->event_ctx);
- if (req == NULL) {
- state->methods++;
- }
}
+ if (req == NULL) state->methods++;
} while (!req && state->methods[0]);
if (req) {