reply.ret_code = be32toh(reply.ret_code);
/* Return session id or negative ret code. */
- if (reply.ret_code != LTTCOMM_OK) {
+ if (reply.ret_code != LTTNG_OK) {
ret = -reply.ret_code;
ERR("Relayd add stream replied error %d", ret);
} else {
reply.ret_code = be32toh(reply.ret_code);
/* Return session id or negative ret code. */
- if (reply.ret_code != LTTCOMM_OK) {
+ if (reply.ret_code != LTTNG_OK) {
ret = -reply.ret_code;
ERR("Relayd close stream replied error %d", ret);
} else {