Mercurial > audlegacy-plugins
diff src/stdio/stdio.c @ 2050:2ffc6a69fcd1
string API calls -> vtable
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sat, 13 Oct 2007 19:55:04 -0500 |
| parents | 6e2070ea35e7 |
| children | bd3a24b39058 |
line wrap: on
line diff
--- a/src/stdio/stdio.c Sun Oct 14 01:33:02 2007 +0300 +++ b/src/stdio/stdio.c Sat Oct 13 19:55:04 2007 -0500 @@ -37,12 +37,12 @@ if (!encoded_path) return NULL; - if (!str_has_prefix_nocase(encoded_path, "file:")) + if (!aud_str_has_prefix_nocase(encoded_path, "file:")) return NULL; cur = encoded_path + 5; - if (str_has_prefix_nocase(cur, "//localhost")) + if (aud_str_has_prefix_nocase(cur, "//localhost")) cur += 11; if (*cur == '/')
