]> jfr.im git - solanum.git/blobdiff - authd/reslib.c
Use rb_* versions of nonportable string functions
[solanum.git] / authd / reslib.c
index b3b43726277934bca66fee76889d8ad62907bb75..7771da6c5da812d43a83127267237e414cb9cc14 100644 (file)
@@ -243,9 +243,9 @@ parse_resvconf(void)
     if ((p = strpbrk(arg, " \t")) != NULL)
       *p = '\0';  /* take the first word */
 
-    if (strcasecmp(opt, "domain") == 0)
+    if (rb_strcasecmp(opt, "domain") == 0)
       rb_strlcpy(irc_domain, arg, sizeof(irc_domain));
-    else if (strcasecmp(opt, "nameserver") == 0)
+    else if (rb_strcasecmp(opt, "nameserver") == 0)
       add_nameserver(arg);
   }