ust comm: more resilient handle table, fix size of reply
[lttng-ust.git] / libust / lttng-ust-comm.c
index c97cc37d1e6283210a81604ccafc1bcba5b35269..a41683a40ce85c68418a77764ef62f75582b89c3 100644 (file)
@@ -99,9 +99,9 @@ int send_reply(int sock, struct lttcomm_ust_reply *lur)
 {
        ssize_t len;
 
-       len = lttcomm_send_unix_sock(sock, &lur, sizeof(lur));
+       len = lttcomm_send_unix_sock(sock, lur, sizeof(*lur));
        switch (len) {
-       case sizeof(lur):
+       case sizeof(*lur):
                DBG("message successfully sent");
                return 0;
        case -1:
This page took 0.02538 seconds and 4 git commands to generate.