0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

m_error: use strncasecmp, not strcmp

This commit is contained in:
Elizabeth Myers 2016-03-09 18:53:08 -06:00
parent 788e2d592c
commit 3ec1db3785

View file

@ -68,7 +68,7 @@ is_safe_error(const char *message)
if (!strncmp(message, "Terminated by ", 14))
return true;
if (!strncmp(message, "Closing Link", 12))
if (!strncasecmp(message, "Closing Link", 12))
return false;
if (strchr(message, '['))
return false;