Second part of fix for bug #7159 - client rpc_transport doesn't cope with bad server...
commitf5ca9f84e9b511c2ba7a4280b1997daa441f9877
authorJeremy Allison <jra@samba.org>
Fri, 19 Feb 2010 22:24:17 +0000 (19 14:24 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Mar 2010 12:40:58 +0000 (2 13:40 +0100)
tree94b23730edc8a966683df6f281d92b9081cfee99
parent6e5b6b5acb30869eb63b25ed1406014101a5e89d
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.
(cherry picked from commit 0055e33dbed0e81548464d01bcf864255bab3159)
source3/rpc_client/rpc_transport_np.c