From 3dcffed682987ba627e79bbdfe6ffe1b981c04bf Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 28 Sep 2012 17:08:16 +0200 Subject: The this->data member is never NULL --- src/conftest/hooks/unencrypted_notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conftest/hooks/unencrypted_notify.c') diff --git a/src/conftest/hooks/unencrypted_notify.c b/src/conftest/hooks/unencrypted_notify.c index 958e33e98..f4c35725c 100644 --- a/src/conftest/hooks/unencrypted_notify.c +++ b/src/conftest/hooks/unencrypted_notify.c @@ -80,7 +80,7 @@ METHOD(listener_t, ike_updown, 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