diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-09-14 18:31:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:48 -0500 |
commit | 5eb34f5d570b2370e010e81f65b53ce47a1a873d (patch) | |
tree | 46e9751f282550684b04cbc09000fc0769f1057f /source3/client | |
parent | b91b78530697556aec7764de9ef16735cdd22902 (diff) | |
download | samba-5eb34f5d570b2370e010e81f65b53ce47a1a873d.tar.gz samba-5eb34f5d570b2370e010e81f65b53ce47a1a873d.tar.bz2 samba-5eb34f5d570b2370e010e81f65b53ce47a1a873d.zip |
r25169: Fix bug 4028
(This used to be commit 1a022267003480b4487a780ebaa6016f491828a3)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |