Skip to content

Commit

Permalink
IPC: server: fix debug message wrt. what actually went wrong
Browse files Browse the repository at this point in the history
It's misleading towards a random code observer, at least,
hiding the fact that what failed is actually the queing up
of some handling to perform asynchronously in the future,
rather than invoking it synchronously right away.

Signed-off-by: Jan Pokorný <[email protected]>
  • Loading branch information
jnpkrn committed May 22, 2019
1 parent 81b4043 commit 2e573d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ipc_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,8 @@ qb_ipcs_uc_recv_and_auth(int32_t sock, struct qb_ipcs_service *s)
POLLIN | POLLPRI | POLLNVAL,
data, process_auth);
if (res < 0) {
qb_util_log(LOG_DEBUG, "Failed to process AUTH for fd (%d)", data->sock);
qb_util_log(LOG_DEBUG, "Failed to arrange for AUTH for fd (%d)",
data->sock);
close(sock);
destroy_ipc_auth_data(data);
}
Expand Down

0 comments on commit 2e573d9

Please sign in to comment.