Skip to content

Commit

Permalink
Low: ipc_socket: Output send event failure as debug instead of error
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvossel committed Jul 24, 2013
1 parent 1e1397f commit 2a0a079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ipc_socket.c
Expand Up @@ -306,7 +306,7 @@ qb_ipc_socket_send(struct qb_ipc_one_way *one_way,
if (rc == -1) {
rc = -errno;
if (errno != EAGAIN && errno != ENOBUFS) {
qb_util_perror(LOG_ERR, "socket_send:send");
qb_util_perror(LOG_DEBUG, "socket_send:send");
}
}
qb_sigpipe_ctl(QB_SIGPIPE_DEFAULT);
Expand Down Expand Up @@ -341,7 +341,7 @@ qb_ipc_socket_sendv(struct qb_ipc_one_way *one_way, const struct iovec *iov,
if (rc == -1) {
rc = -errno;
if (errno != EAGAIN && errno != ENOBUFS) {
qb_util_perror(LOG_ERR, "socket_sendv:writev %d",
qb_util_perror(LOG_DEBUG, "socket_sendv:writev %d",
one_way->u.us.sock);
}
}
Expand Down

0 comments on commit 2a0a079

Please sign in to comment.