aboutsummaryrefslogtreecommitdiffstats
path: root/src/conftest/hooks/add_notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conftest/hooks/add_notify.c')
-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 00833265f..de46ca81f 100644
--- a/src/conftest/hooks/add_notify.c
+++ b/src/conftest/hooks/add_notify.c
@@ -80,7 +80,7 @@ METHOD(listener_t, message, 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);