r22950: Fix the issue Volker reported here :
authorJeremy Allison <jra@samba.org>
Wed, 16 May 2007 17:17:25 +0000 (17:17 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:11 +0000 (12:22 -0500)
commit478ccc150ba3b8c87ac67769c46be20a73d14096
tree9c778802fe6db5591cd226467c05dee3a33c6ebd
parent0570ce21ffd6c2a52bf701cd72fbb66ed7b3eb3e
r22950: Fix the issue Volker reported here :

"Attempt to fix some build farm failures: On port 139 the first
successful packet gives len==0 from the server, so the = in

        if (len <= 0) {

in line 136 of clientgen.c throws a failure."

The irritating thing is that I already had it correct in
SAMBA_3_0_26 and forgot to merge the change across.

len == 0 is a valid return - I messed that up when
converting client_receive_smb() to return a length
rather than a BOOL.

Doh !

Jeremy.
(This used to be commit a398bdf08d9efac51af28aed29f2c0f151cd5aad)
source3/libsmb/cliconnect.c
source3/libsmb/clientgen.c