From c7f7a0ba062f1f294cc84d1e3f3b35fe234054ec Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 10 Dec 2010 14:25:19 +0100 Subject: Use strncaseeq instead of strncasecmp --- 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 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); -- cgit v1.2.3