m_error: use strncasecmp, not strcmp
This commit is contained in:
parent
788e2d592c
commit
3ec1db3785
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue