svn commit: samba r3212 - in branches/SAMBA_4_0/source/gtk/common: .

jelmer at samba.org jelmer at samba.org
Mon Oct 25 11:33:29 GMT 2004


Author: jelmer
Date: 2004-10-25 11:33:29 +0000 (Mon, 25 Oct 2004)
New Revision: 3212

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/gtk/common&rev=3212&nolog=1

Log:
Never put a hostname in a ncalrpc binding string

Modified:
   branches/SAMBA_4_0/source/gtk/common/gtk-smb.c


Changeset:
Modified: branches/SAMBA_4_0/source/gtk/common/gtk-smb.c
===================================================================
--- branches/SAMBA_4_0/source/gtk/common/gtk-smb.c	2004-10-25 11:28:09 UTC (rev 3211)
+++ branches/SAMBA_4_0/source/gtk/common/gtk-smb.c	2004-10-25 11:33:29 UTC (rev 3212)
@@ -336,6 +336,7 @@
 		binding->transport = NCACN_IP_TCP;
 	} else if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(d->transport_ncalrpc))) {
 		binding->transport = NCALRPC;
+		binding->host = NULL;
 	} else {
 		binding->transport = NCACN_NP;
 	}



More information about the samba-cvs mailing list