svn commit: samba r25176 - in branches/SAMBA_3_0_MAINT/source/client: .

vlendec at samba.org vlendec at samba.org
Sat Sep 15 15:31:55 GMT 2007


Author: vlendec
Date: 2007-09-15 15:31:54 +0000 (Sat, 15 Sep 2007)
New Revision: 25176

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

Log:
Merge fix for bug 4028
Modified:
   branches/SAMBA_3_0_MAINT/source/client/client.c


Changeset:
Modified: branches/SAMBA_3_0_MAINT/source/client/client.c
===================================================================
--- branches/SAMBA_3_0_MAINT/source/client/client.c	2007-09-14 23:21:00 UTC (rev 25175)
+++ branches/SAMBA_3_0_MAINT/source/client/client.c	2007-09-15 15:31:54 UTC (rev 25176)
@@ -194,6 +194,10 @@
 			msg[l] = c;   
 		}
 
+		if ((total_len > 0) && (strlen(msg) == 0)) {
+			break;
+		}
+
 		if (!cli_message_text(cli, msg, l, grp_id)) {
 			d_printf("SMBsendtxt failed (%s)\n",cli_errstr(cli));
 			return;



More information about the samba-cvs mailing list