Fix: ustctl_recv_register_event pointer mixup
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Mar 2013 16:24:07 +0000 (12:24 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Mar 2013 16:24:07 +0000 (12:24 -0400)
Was causing some event names to appear as "" in metadata.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-ctl/ustctl.c

index 375b4db5c14b64876a0912987d87b121fe4f4839..0361f184e342619031ec51d837c509743c7bab77 100644 (file)
@@ -1578,7 +1578,7 @@ int ustctl_recv_register_event(int sock,
                goto signature_error;
        }
        /* Enforce end of string */
-       signature[signature_len - 1] = '\0';
+       a_sign[signature_len - 1] = '\0';
 
        /* recv fields */
        if (fields_len) {
This page took 0.026715 seconds and 4 git commands to generate.