svn commit: samba r23140 - in branches/SAMBA_4_0/source/torture/raw: .

tridge at samba.org tridge at samba.org
Fri May 25 11:39:43 GMT 2007


Author: tridge
Date: 2007-05-25 11:39:43 +0000 (Fri, 25 May 2007)
New Revision: 23140

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

Log:

send send echos while disconnected

Modified:
   branches/SAMBA_4_0/source/torture/raw/lockbench.c
   branches/SAMBA_4_0/source/torture/raw/openbench.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/lockbench.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/lockbench.c	2007-05-25 10:43:06 UTC (rev 23139)
+++ branches/SAMBA_4_0/source/torture/raw/lockbench.c	2007-05-25 11:39:43 UTC (rev 23140)
@@ -265,7 +265,9 @@
 		p.in.repeat_count = 0;
 		p.in.size = 0;
 		p.in.data = NULL;
-		smb_raw_echo_send(state[i].tree->session->transport, &p);
+		if (state[i].tree) {
+			smb_raw_echo_send(state[i].tree->session->transport, &p);
+		}
 	}
 }
 

Modified: branches/SAMBA_4_0/source/torture/raw/openbench.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/openbench.c	2007-05-25 10:43:06 UTC (rev 23139)
+++ branches/SAMBA_4_0/source/torture/raw/openbench.c	2007-05-25 11:39:43 UTC (rev 23140)
@@ -305,7 +305,9 @@
 		p.in.repeat_count = 0;
 		p.in.size = 0;
 		p.in.data = NULL;
-		smb_raw_echo_send(state[i].tree->session->transport, &p);
+		if (state[i].tree) {
+			smb_raw_echo_send(state[i].tree->session->transport, &p);
+		}
 	}
 }
 



More information about the samba-cvs mailing list