stream: Log read/write flags

Change-Id: I57b064fa0498be76579ae9597ab9217d659aae41
This commit is contained in:
Pau Espin 2022-12-20 14:52:36 +01:00
parent a6f4ff0806
commit 8792432351
1 changed files with 1 additions and 1 deletions

View File

@ -1356,7 +1356,7 @@ static int osmo_stream_srv_cb(struct osmo_fd *ofd, unsigned int what)
struct osmo_stream_srv *conn = ofd->data;
int rc = 0;
LOGP(DLINP, LOGL_DEBUG, "connected read/write\n");
LOGP(DLINP, LOGL_DEBUG, "connected read/write (what=0x%x)\n", what);
if (what & OSMO_FD_READ)
rc = osmo_stream_srv_read(conn);
if (rc != -EBADF && (what & OSMO_FD_WRITE))