r23972: Fix a bug in pwrite error detection in tdb_expand_file():
authorMichael Adam <obnox@samba.org>
Thu, 19 Jul 2007 13:46:26 +0000 (13:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:50 +0000 (12:28 -0500)
commite3af95f0983e9f92c10a80ee4f15a0cd718a4728
treecb09c843ce8f0f207dfe628ae3cea600a84763c6
parentf959a0f152956429d8b525a55f99cbe2963504d6
r23972: Fix a bug in pwrite error detection in tdb_expand_file():
The proper error condition is (ret == -1) instead of
(ret != number_of_byte_told_to_write).

Michael
source/lib/tdb/common/io.c