s3:libsmb: convert nb_trans_send/recv internals to tdgram
authorStefan Metzmacher <metze@samba.org>
Thu, 21 May 2015 02:43:27 +0000 (04:43 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:17 +0000 (17:08 +0200)
commita3282911f6ceb76b2ada567e569a55af8c7ef160
treeb4de920bc75d7b0e821736d7a580ab2aee46ef62
parentecb4d041de89441941a112ab3a724887e568117e
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>
source3/libsmb/namequery.c