Improve debug message
Before this change we couldn't differentiate between this instance and the one further down in the code. Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -122,8 +122,9 @@ void xmpp_run_once(xmpp_ctx_t *ctx, unsigned long timeout)
|
||||
|
||||
if (ret < 0 && !tls_is_recoverable(tls_error(conn->tls))) {
|
||||
/* an error occurred */
|
||||
strophe_debug(ctx, "xmpp",
|
||||
"Send error occurred, disconnecting.");
|
||||
strophe_debug(
|
||||
ctx, "xmpp",
|
||||
"Send error of pending data occurred, disconnecting.");
|
||||
conn->error = ECONNABORTED;
|
||||
conn_disconnect(conn);
|
||||
goto next_item;
|
||||
|
||||
Reference in New Issue
Block a user