pespin has uploaded this change for review.
stream_srv: Use LOGSLNK() to print log line
Change-Id: I9aaa63b676b1cd77c7ea500f9bceda989db50db0
---
M src/stream_srv.c
1 file changed, 11 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/71/34071/1
diff --git a/src/stream_srv.c b/src/stream_srv.c
index 9146028..1ef2cc4 100644
--- a/src/stream_srv.c
+++ b/src/stream_srv.c
@@ -107,8 +107,8 @@
ret = accept(ofd->fd, &osa.u.sa, &sa_len);
if (ret < 0) {
- LOGP(DLINP, LOGL_ERROR, "failed to accept from origin peer, reason=`%s'\n",
- strerror(errno));
+ LOGSLNK(link, LOGL_ERROR, "failed to accept from origin peer, reason=`%s'\n",
+ strerror(errno));
return ret;
}
sock_fd = ret;
To view, visit change 34071. To unsubscribe, or for help writing mail filters, visit settings.