#define BT_COMP_LOG_SELF_COMP self_comp
#define BT_LOG_OUTPUT_LEVEL log_level
#define BT_LOG_TAG "PLUGIN/CTF/META/DECODER-DECODE-PACKET"
-#include "plugins/comp-logging.h"
+#include "logging/comp-logging.h"
#include <stdio.h>
#include <stdbool.h>
size_t packet_index = 0;
out_fp = bt_open_memstream(buf, &size);
- if (out_fp == NULL) {
+ if (!out_fp) {
BT_COMP_LOGE("Cannot open memory stream: %s.",
strerror(errno));
goto error;