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))) {
|
if (ret < 0 && !tls_is_recoverable(tls_error(conn->tls))) {
|
||||||
/* an error occurred */
|
/* an error occurred */
|
||||||
strophe_debug(ctx, "xmpp",
|
strophe_debug(
|
||||||
"Send error occurred, disconnecting.");
|
ctx, "xmpp",
|
||||||
|
"Send error of pending data occurred, disconnecting.");
|
||||||
conn->error = ECONNABORTED;
|
conn->error = ECONNABORTED;
|
||||||
conn_disconnect(conn);
|
conn_disconnect(conn);
|
||||||
goto next_item;
|
goto next_item;
|
||||||
|
|||||||
Reference in New Issue
Block a user