s3: Move the drain_socket on error to reply_write_and_X
authorVolker Lendecke <vl@samba.org>
Mon, 5 Mar 2012 14:40:49 +0000 (15:40 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Mar 2012 14:59:36 +0000 (15:59 +0100)
commit216769f2ce7d18a7ca83bf440b6efd7ad4675675
tree7995bf8400e92d3afcbcfe9fc6abfdbd08f42b64
parent82b948a8160e3b5bb80238413967ed7f5798a35c
s3: Move the drain_socket on error to reply_write_and_X

That's the only case where this can happen, so we should not clutter the main
code path.
source3/smbd/process.c
source3/smbd/reply.c