aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-09-28 20:50:09 +0200
committerTobias Brunner <tobias@strongswan.org>2012-09-28 20:50:09 +0200
commit6da1ada3b3e480489e6dce89ae51c60b510190d3 (patch)
tree32cce6b7007c2aaecdb9bfd2703bf65546ce951d /src/conftest
parent91a8dc2decf723ef2ad1be18c86df5bad8ee264c (diff)
downloadstrongswan-6da1ada3b3e480489e6dce89ae51c60b510190d3.tar.bz2
strongswan-6da1ada3b3e480489e6dce89ae51c60b510190d3.tar.xz
Missed one in 3dcffed6
Diffstat (limited to 'src/conftest')
-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)));
}