Skip to content

Commit

Permalink
Fix: ipcs: Fixes compile time issue reported by travis
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvossel committed Jul 13, 2013
1 parent f8d954f commit 71979d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ipcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ new_event_notification(struct qb_ipcs_connection * c)
assert(c->outstanding_notifiers >= 0);
if (c->outstanding_notifiers > 0) {
c->outstanding_notifiers++;
resend_event_notifications(c);
res = resend_event_notifications(c);
} else {
res = qb_ipc_us_send(&c->setup, &c->outstanding_notifiers, 1);
if (res == -EAGAIN) {
Expand Down Expand Up @@ -401,7 +401,7 @@ qb_ipcs_event_send(struct qb_ipcs_connection * c, const void *data, size_t size)
if (res == size) {
c->stats.events++;
resn = new_event_notification(c);
if (resn < 0 && resn != -EAGAIN) {
if (resn < 0 && resn != -EAGAIN && resn != -ENOBUFS) {
errno = -resn;
qb_util_perror(LOG_WARNING,
"new_event_notification (%s)",
Expand Down

0 comments on commit 71979d7

Please sign in to comment.