s3:utils/smbget improve check of write() result
authorChristian Ambach <ambi@samba.org>
Mon, 8 Feb 2016 22:27:09 +0000 (23:27 +0100)
committerChristian Ambach <ambi@samba.org>
Fri, 26 Feb 2016 10:31:32 +0000 (11:31 +0100)
commit113f8dd3d9e0d04b03b61f415b3c410ba75260f5
tree4ab7e01883a6fe860b2431bcf78764411c29173b
parent01ba35dca2f721fa5b3c31da7fa991e7d1479cc7
s3:utils/smbget improve check of write() result

check that all bytes in the buffer have been written

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/utils/smbget.c