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:
@@ -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, ':'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user