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>
Tue, 26 Nov 2013 15:58:27 +0000 (10:58 -0500)
commit3f84e025445a0cb91a16a89b0c932b5bbe614cfc
tree6d52d29edb01d312d6537b30b01d96ad9d789b80
parent72b6f5b6dc9fdd0ff4d49df8a9f010644311e863
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>
Conflicts:
src/bin/lttng-sessiond/ust-consumer.c
src/common/kernel-consumer/kernel-consumer.c
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.026737 seconds and 4 git commands to generate.