s3:libsmb: convert nb_packet_reader to tstream_* functions
commitecb4d041de89441941a112ab3a724887e568117e
authorStefan Metzmacher <metze@samba.org>
Thu, 21 May 2015 00:18:26 +0000 (21 02:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 12 Jun 2015 15:08:17 +0000 (12 17:08 +0200)
tree478f7343489f53dffc9c74abe7d001fd7c10ee79
parent3ecf4ec6574de9bdd5a2d55529ed81b17c74d452
s3:libsmb: convert nb_packet_reader to tstream_* functions

By using the tstream abstraction we don't need to take care
error handling regarding dangling tevent_fd structures.

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/unexpected.c