The Samba-Bugzilla – Attachment 1031 Details for
Bug 2447
inspecting multiple local master browsers could fail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix bug
x (text/plain), 1.91 KB, created by
Derrell Lipman
on 2005-03-14 14:07:49 UTC
(
hide
)
Description:
patch to fix bug
Filename:
MIME Type:
Creator:
Derrell Lipman
Created:
2005-03-14 14:07:49 UTC
Size:
1.91 KB
patch
obsolete
>Index: libsmb/libsmbclient.c >=================================================================== >--- libsmb/libsmbclient.c (revision 5786) >+++ libsmb/libsmbclient.c (working copy) >@@ -1960,7 +1960,7 @@ > } > > for (i = 0; i < count && i < max_lmb_count; i++) { >- DEBUG(99, ("Found master browser %s\n", inet_ntoa(ip_list[i].ip))); >+ DEBUG(99, ("Found master browser %d of %d: %s\n", i+1, MAX(count, max_lmb_count), inet_ntoa(ip_list[i].ip))); > > cli = get_ipc_connect_master_ip(&ip_list[i], workgroup, &u_info); > /* cli == NULL is the master browser refused to talk or >@@ -1983,12 +1983,7 @@ > srv = smbc_server(context, server, > "IPC$", workgroup, user, password); > if (!srv) { >- >- if (dir) { >- SAFE_FREE(dir->fname); >- SAFE_FREE(dir); >- } >- return NULL; >+ continue; > } > > dir->srv = srv; >@@ -1999,13 +1994,7 @@ > if (!cli_NetServerEnum(&srv->cli, workgroup, SV_TYPE_DOMAIN_ENUM, list_unique_wg_fn, > (void *)dir)) { > >- if (dir) { >- SAFE_FREE(dir->fname); >- SAFE_FREE(dir); >- } >- >- return NULL; >- >+ continue; > } > } > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2447
: 1031