pespin submitted this change.

View Change



2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
stream_srv: Use LOGSLNK() to print log line

Change-Id: I9aaa63b676b1cd77c7ea500f9bceda989db50db0
---
M src/stream_srv.c
1 file changed, 11 insertions(+), 2 deletions(-)

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.

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I9aaa63b676b1cd77c7ea500f9bceda989db50db0
Gerrit-Change-Number: 34071
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged