stream: Fix typos in log messages

Change-Id: I9e49e222c254c89d182402501024badfd3bf9d9c
This commit is contained in:
Pau Espin 2022-09-12 12:36:00 +02:00
parent 98cc81bc98
commit 2087d61c21
2 changed files with 3 additions and 3 deletions

View File

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

View File

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