From 5eb34f5d570b2370e010e81f65b53ce47a1a873d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 14 Sep 2007 18:31:33 +0000 Subject: r25169: Fix bug 4028 (This used to be commit 1a022267003480b4487a780ebaa6016f491828a3) --- source3/client/client.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 91cf128bc4..52ca5e309a 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -193,6 +193,10 @@ static void send_message(void) 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; -- cgit