1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

fixed warning

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@171 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2010-05-07 11:49:30 +00:00
parent 8b2e5bba82
commit 596f569e1e
2 changed files with 2 additions and 2 deletions

View File

@ -1022,7 +1022,7 @@ static int sanitizehost(char *buf)
} }
/* Enforce some basic URL rules... */ /* Enforce some basic URL rules... */
if ((isalnum(*buf) == 0 && *buf != '-' && *buf != '.') || if ((isalnum((int)(*buf)) == 0 && *buf != '-' && *buf != '.') ||
(*buf == '.' && *(buf+1) == '.') || (*buf == '.' && *(buf+1) == '.') ||
(*buf == '.' && *(buf+1) == '-') || (*buf == '.' && *(buf+1) == '-') ||
(*buf == '-' && *(buf+1) == '.')) (*buf == '-' && *(buf+1) == '.'))

File diff suppressed because one or more lines are too long