1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

service_stream: Log if the connection termination is deferred or not (bug #9820)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Bartlett 2013-06-27 11:27:03 +10:00 committed by Stefan Metzmacher
parent 577cef82c7
commit df929d6feb

View File

@ -60,7 +60,11 @@ void stream_terminate_connection(struct stream_connection *srv_conn, const char
if (!reason) reason = "unknown reason";
DEBUG(3,("Terminating connection - '%s'\n", reason));
if (srv_conn->processing) {
DEBUG(3,("Terminating connection deferred - '%s'\n", reason));
} else {
DEBUG(3,("Terminating connection - '%s'\n", reason));
}
srv_conn->terminate = reason;