From 6da1ada3b3e480489e6dce89ae51c60b510190d3 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 28 Sep 2012 20:50:09 +0200 Subject: Missed one in 3dcffed6 --- src/conftest/hooks/add_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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))); } -- cgit v1.2.3