ust: make lttd work
[ust.git] / libustcomm / ustcomm.c
index 2b08b310b826b0de71c3a1b42d8bd6ac289e747b..4fe46c537d880d7f9cb27dd13d73c1a660343a3e 100644 (file)
@@ -201,7 +201,7 @@ int ustcomm_send_reply(struct ustcomm_server *server, char *msg, struct ustcomm_
        int result;
 
        result = send_message_fd(src->fd, msg, NULL);
-       if(result) {
+       if(result < 0) {
                ERR("error in send_message_fd");
                return -1;
        }
This page took 0.022311 seconds and 4 git commands to generate.