summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2009-10-21 21:18:56 +0400
committerRusty Russell <rusty@rustcorp.com.au>2009-10-29 10:14:33 +1030
commitb4424f8234a78a79fb2d71d46ca208b4f12e0f9e (patch)
tree51b84db81ee6ea5d0fd0e185efb6aa1b7d2b9330 /lib/tevent
parentcfed5f946de0992a594c189ee3c19cf98e59d380 (diff)
downloadsamba-b4424f8234a78a79fb2d71d46ca208b4f12e0f9e.tar.gz
samba-b4424f8234a78a79fb2d71d46ca208b4f12e0f9e.tar.bz2
samba-b4424f8234a78a79fb2d71d46ca208b4f12e0f9e.zip
tdb: reset tdb->fd to -1 in tdb_close()
So that erroneous double tdb_close() calls do not try to close() same fd again. This is like SAFE_FREE() but for fd. Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tevent')
0 files changed, 0 insertions, 0 deletions