stream_srv: Use LOGSLNK() to print log line
Change-Id: I9aaa63b676b1cd77c7ea500f9bceda989db50db0
This commit is contained in:
parent
1f7c44a17c
commit
f42d4c3bb3
|
@ -107,8 +107,8 @@ static int osmo_stream_srv_link_ofd_cb(struct osmo_fd *ofd, unsigned int what)
|
||||||
|
|
||||||
ret = accept(ofd->fd, &osa.u.sa, &sa_len);
|
ret = accept(ofd->fd, &osa.u.sa, &sa_len);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
LOGP(DLINP, LOGL_ERROR, "failed to accept from origin peer, reason=`%s'\n",
|
LOGSLNK(link, LOGL_ERROR, "failed to accept from origin peer, reason=`%s'\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
sock_fd = ret;
|
sock_fd = ret;
|
||||||
|
|
Loading…
Reference in New Issue