s3:libsmb: convert nb_trans_send/recv internals to tdgram
commita9e2d2acb80d6592c803350d7e214b3b8067aef0
authorStefan Metzmacher <metze@samba.org>
Thu, 21 May 2015 02:43:27 +0000 (21 04:43 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Jun 2015 02:19:07 +0000 (30 04:19 +0200)
tree9663d894b0ea7d58b5f129c3e88d0ff303322045
parent109e579b72dbd06621bda311d3bc6c557ff91228
s3:libsmb: convert nb_trans_send/recv internals to tdgram

This simplifies/fixes the cleanup, because we need to remove any
tevent_fd object before closing the socket fd.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11316

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit a3282911f6ceb76b2ada567e569a55af8c7ef160)
source3/libsmb/namequery.c