diff --git a/src/stream.c b/src/stream.c index a7053e9..f090c4f 100644 --- a/src/stream.c +++ b/src/stream.c @@ -1550,11 +1550,11 @@ int osmo_stream_srv_recv(struct osmo_stream_srv *conn, struct msgb *msg) if (ret < 0) { if (errno == EPIPE || errno == ECONNRESET) { LOGP(DLINP, LOGL_ERROR, - "lost connection with srv\n"); + "lost connection with client\n"); } return ret; } else if (ret == 0) { - LOGP(DLINP, LOGL_ERROR, "connection closed with srv\n"); + LOGP(DLINP, LOGL_ERROR, "connection closed with client\n"); return ret; } msgb_put(msg, ret); diff --git a/tests/stream/stream_test.err b/tests/stream/stream_test.err index 0d08c67..9ed9973 100644 --- a/tests/stream/stream_test.err +++ b/tests/stream/stream_test.err @@ -20,7 +20,7 @@ {11.000009} autoreconnecting test step 3 [client OK, server OK], FD reg 1 {11.000010} autoreconnecting test step 2 [client OK, server OK], FD reg 0 -connection closed with srv +connection closed with client {11.000011} autoreconnecting test step 1 [client OK, server NA], FD reg 0