1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 07:23:13 +02:00

Get rid of stricmp/strnicmp (use strcasecmp/strncasecmp)

This commit is contained in:
Bram Matthys
2019-09-09 16:13:32 +02:00
parent 9636f83a2b
commit 7d4b7c2fed
26 changed files with 76 additions and 83 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ int websocket_handle_handshake(aClient *sptr, char *readbuf, int *length)
r;
r = websocket_handshake_helper(NULL, 0, &key, &value, &lastloc, &end_of_request))
{
if (!stricmp(key, "Sec-WebSocket-Key"))
if (!strcasecmp(key, "Sec-WebSocket-Key"))
{
if (strchr(value, ':'))
{