Use rb_* versions of nonportable string functions

This commit is contained in:
Elizabeth Myers 2016-04-05 05:39:59 -05:00
parent 508e25a85b
commit f956cb0f1f
22 changed files with 44 additions and 66 deletions

View file

@ -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;