diff options
author | Martin Willi <martin@revosec.ch> | 2010-12-10 14:25:19 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-01-05 16:45:59 +0100 |
commit | c7f7a0ba062f1f294cc84d1e3f3b35fe234054ec (patch) | |
tree | 472011c91340822b6eb16fa9ee72ed4bc2058473 /src/conftest/hooks/unencrypted_notify.c | |
parent | 7a3e0a63211ede539e70a3cfec7d63f9fa869a74 (diff) | |
download | strongswan-c7f7a0ba062f1f294cc84d1e3f3b35fe234054ec.tar.bz2 strongswan-c7f7a0ba062f1f294cc84d1e3f3b35fe234054ec.tar.xz |
Use strncaseeq instead of strncasecmp
Diffstat (limited to 'src/conftest/hooks/unencrypted_notify.c')
-rw-r--r-- | src/conftest/hooks/unencrypted_notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/unencrypted_notify.c b/src/conftest/hooks/unencrypted_notify.c index 8737158ad..80bdc64b7 100644 --- a/src/conftest/hooks/unencrypted_notify.c +++ b/src/conftest/hooks/unencrypted_notify.c @@ -75,7 +75,7 @@ METHOD(listener_t, ike_updown, bool, return TRUE; } } - if (strncasecmp(this->data, "0x", 2) == 0) + if (strncaseeq(this->data, "0x", 2)) { data = chunk_skip(chunk_create(this->data, strlen(this->data)), 2); data = chunk_from_hex(data, NULL); |