svn commit: samba r11779 - in branches/SAMBA_4_0/source/torture/nbt: .

metze at samba.org metze at samba.org
Fri Nov 18 11:40:04 GMT 2005


Author: metze
Date: 2005-11-18 11:40:03 +0000 (Fri, 18 Nov 2005)
New Revision: 11779

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11779

Log:
fix crash bug

metze
Modified:
   branches/SAMBA_4_0/source/torture/nbt/winsreplication.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/nbt/winsreplication.c
===================================================================
--- branches/SAMBA_4_0/source/torture/nbt/winsreplication.c	2005-11-18 11:39:31 UTC (rev 11778)
+++ branches/SAMBA_4_0/source/torture/nbt/winsreplication.c	2005-11-18 11:40:03 UTC (rev 11779)
@@ -8361,7 +8361,7 @@
 			for (j=0; j < count; j++) {
 				struct nbt_name_socket *nbtsock = ctx->nbtsock;
 
-				if (ctx->myaddr && strcmp(records[i].wins.ips[j].ip, ctx->myaddr2) == 0) {
+				if (ctx->myaddr2 && strcmp(records[i].wins.ips[j].ip, ctx->myaddr2) == 0) {
 					nbtsock = ctx->nbtsock2;
 				}
 



More information about the samba-cvs mailing list