diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-11-28 10:23:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-29 16:00:07 +0100 |
commit | c9ca3bb4921882634058ee203205aa72b30fb4a7 (patch) | |
tree | 9b5168612b91a0c2d36bcecabee54ecd9f645bbd /libcli | |
parent | 91cb09fa0cdcdd04b2779736dd9855a5572bd0b4 (diff) | |
download | samba-c9ca3bb4921882634058ee203205aa72b30fb4a7.tar.gz samba-c9ca3bb4921882634058ee203205aa72b30fb4a7.tar.bz2 samba-c9ca3bb4921882634058ee203205aa72b30fb4a7.zip |
smbXcli: call tevent_queue_stop() for the outgoing queue on disconnect
metze
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/smbXcli_base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index e479549343..43fbbf4e4d 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -743,6 +743,8 @@ static bool smbXcli_conn_receive_next(struct smbXcli_conn *conn) void smbXcli_conn_disconnect(struct smbXcli_conn *conn, NTSTATUS status) { + tevent_queue_stop(conn->outgoing); + if (conn->read_fd != -1) { close(conn->read_fd); } |