aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/conftest/hooks/add_notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/add_notify.c b/src/conftest/hooks/add_notify.c
index e3fbbc878..9611cad6c 100644
--- a/src/conftest/hooks/add_notify.c
+++ b/src/conftest/hooks/add_notify.c
@@ -85,7 +85,7 @@ METHOD(listener_t, message, bool,
data = chunk_skip(chunk_create(this->data, strlen(this->data)), 2);
data = chunk_from_hex(data, NULL);
}
- else if (this->data && strlen(this->data))
+ else if (strlen(this->data))
{
data = chunk_clone(chunk_create(this->data, strlen(this->data)));
}