X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libustcomm%2Fustcomm.c;h=e19118347ce3fd364aa1ec75cadb0f74fcf20550;hb=53107b8f0fcc8f46a12f926b37a6a87eeccac887;hp=5468ad4f9eebe74df02ece68166520de3bb52f06;hpb=3bb568630e172fd8d2a05f85b6f44218c18ce139;p=lttng-ust.git diff --git a/libustcomm/ustcomm.c b/libustcomm/ustcomm.c index 5468ad4f..e1911834 100644 --- a/libustcomm/ustcomm.c +++ b/libustcomm/ustcomm.c @@ -399,9 +399,6 @@ int ustcomm_send_request(struct ustcomm_connection *conn, char *req, char **repl PERROR("send"); return -1; } - else if(result == 0) { - return 0; - } if(!reply) return 1; @@ -521,7 +518,7 @@ int ustcomm_init_ustd(struct ustcomm_ustd *handle) handle->server.listen_fd = init_named_socket(name, &handle->server.socketpath); if(handle->server.listen_fd < 0) { - ERR("error initializing named socket"); + ERR("error initializing named socket at %s", name); goto free_name; } free(name);