ustd: fix warning
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Thu, 1 Oct 2009 22:23:54 +0000 (18:23 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Thu, 1 Oct 2009 22:23:54 +0000 (18:23 -0400)
ustd/ustd.c

index 6f4acf8f5e0722b6dd6e9bef8d42a80c49a369b8..adbc3a902ac2bf648a949201bfead9086bb9dc46 100644 (file)
@@ -69,7 +69,7 @@ int get_subbuffer(struct buffer_info *buf)
 
        asprintf(&send_msg, "get_subbuffer %s", buf->name);
        result = ustcomm_send_request(&buf->conn, send_msg, &received_msg);
-       if(result == -1 && errno == EPIPE || result == 0) {
+       if((result == -1 && errno == EPIPE) || result == 0) {
                DBG("app died while being traced");
                retval = GET_SUBBUF_DIED;
                goto end;
This page took 0.024337 seconds and 4 git commands to generate.