Fix: implicit conversion of enum types in consumer
authorDavid Goulet <dgoulet@efficios.com>
Mon, 25 Nov 2013 19:16:39 +0000 (14:16 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 25 Nov 2013 21:49:22 +0000 (16:49 -0500)
commit0c759fc95033a3d6d7cb939f39dd643ce7e127ee
treee51622f72780b82642c821b124e7e3d8ae135aca
parent1eb682be3330c00ac2ee60a596dda4eb440e3784
Fix: implicit conversion of enum types in consumer

This actually remove the use of LTTNG_ERR* code in the sessiond/consumer
protocol since it should NOT be used and some comparison of enum
(lttng_error_code vs lttcomm_return_code) were broken and dangerous.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/consumer.c
src/bin/lttng-sessiond/ust-consumer.c
src/common/consumer.c
src/common/kernel-consumer/kernel-consumer.c
src/common/sessiond-comm/sessiond-comm.h
src/common/ust-consumer/ust-consumer.c
This page took 0.025905 seconds and 4 git commands to generate.