stream: Fix typos in log messages

Change-Id: I9e49e222c254c89d182402501024badfd3bf9d9c
changes/23/29323/2
Pau Espin 3 months ago
parent 98cc81bc98
commit 2087d61c21
  1. 4
      src/stream.c
  2. 2
      tests/stream/stream_test.err

@ -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);

@ -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

Loading…
Cancel
Save