Second part of fix for bug #7159 - client rpc_transport doesn't cope with bad server...
commit0055e33dbed0e81548464d01bcf864255bab3159
authorJeremy Allison <jra@samba.org>
Fri, 19 Feb 2010 22:24:17 +0000 (19 14:24 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 19 Feb 2010 22:26:22 +0000 (19 14:26 -0800)
tree8c5dda02a203b2518a87e022a26931ec187cb2ba
parentad77ae1d5870e06f8587ecf634e0b6bdcbb950d7
Second part of fix for bug #7159 - client rpc_transport doesn't cope with bad server data returns.

If server returns zero on a NP read. Report pipe broken.
Prevents client from looping if it thinks there should be
more data.

Jeremy.
source3/rpc_client/rpc_transport_np.c