X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=libustcomm%2Fustcomm.c;h=d6e5346d26e468a73addc6b6fc8eca369d6e58b3;hb=0ce2af7f6372336d520847b4745da781344ba743;hp=f2aeb61fc423d2d818e89190fae44312d92f3658;hpb=4e2a88089f60f56b118bbfcbac65f74e79166436;p=lttng-ust.git diff --git a/libustcomm/ustcomm.c b/libustcomm/ustcomm.c index f2aeb61f..d6e5346d 100644 --- a/libustcomm/ustcomm.c +++ b/libustcomm/ustcomm.c @@ -59,6 +59,7 @@ static void signal_process(pid_t pid) return; } + /* FIXME: should wait in a better way */ sleep(1); } @@ -398,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;