1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

disable old warning

This commit is contained in:
psyc://psyced.org/~lynX 2011-02-03 16:54:56 +01:00
parent 73b25d07af
commit fbbdf7c2e0
3 changed files with 10 additions and 8 deletions

View file

@ -12,6 +12,7 @@
#include <net.h>
#include <uniform.h>
// is_formal is similar to this
string legal_url(string url, string scheme) {
if (scheme &&! abbrev(scheme+":", url)) return 0;
if (index(url, '"') >= 0) return 0;