Skip to content

Commit

Permalink
Improve debug message
Browse files Browse the repository at this point in the history
Before this change we couldn't differentiate between this instance
and the one further down in the code.

Signed-off-by: Steffen Jaeckel <[email protected]>
  • Loading branch information
sjaeckel committed Oct 26, 2023
1 parent c30bd0d commit 9735af5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9735af5

Please sign in to comment.