Use strncaseeq instead of strncasecmp

This commit is contained in:
Martin Willi
2011-01-05 16:45:59 +01:00
parent 7a3e0a6321
commit c7f7a0ba06
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ METHOD(listener_t, message, bool,
}
enumerator->destroy(enumerator);
}
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);