svn commit: samba r4922 - in
branches/SAMBA_4_0/source/libcli/resolve: .
tridge at samba.org
tridge at samba.org
Sat Jan 22 02:08:30 GMT 2005
Author: tridge
Date: 2005-01-22 02:08:30 +0000 (Sat, 22 Jan 2005)
New Revision: 4922
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4922
Log:
fixed an infinite loop in the name resolve code when handling a method
in smb.conf that isn't implemented in the library
Modified:
branches/SAMBA_4_0/source/libcli/resolve/resolve.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/resolve/resolve.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/resolve/resolve.c 2005-01-22 01:38:42 UTC (rev 4921)
+++ branches/SAMBA_4_0/source/libcli/resolve/resolve.c 2005-01-22 02:08:30 UTC (rev 4922)
@@ -99,10 +99,8 @@
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) {
More information about the samba-cvs
mailing list