Use rb_* versions of nonportable string functions
This commit is contained in:
parent
508e25a85b
commit
f956cb0f1f
22 changed files with 44 additions and 66 deletions
|
@ -67,7 +67,7 @@ is_safe_error(const char *message)
|
|||
if (!strncmp(message, "Terminated by ", 14))
|
||||
return true;
|
||||
|
||||
if (!strncasecmp(message, "Closing Link", 12))
|
||||
if (!rb_strncasecmp(message, "Closing Link", 12))
|
||||
return false;
|
||||
if (strchr(message, '['))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue