X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fresp.c;h=be2f7bd7c586f3046d6884c08c6276543ccf4d42;hb=4350acb522111f385f74dd9c7f8b3e47443ff225;hp=bae24bf2c0e85638ba1e26399c209d4fcdf25d5b;hpb=9d82f27c53c5fb79ceee52904b996edefb27628a;p=ashd.git diff --git a/lib/resp.c b/lib/resp.c index bae24bf..be2f7bd 100644 --- a/lib/resp.c +++ b/lib/resp.c @@ -53,7 +53,7 @@ char *urlquote(char *text) bufinit(buf); for(; *text; text++) { c = *text; - if(!c < 128 && safechars[(int)c]) + if((c < 128) && safechars[(int)c]) bufadd(buf, *text); else bprintf(&buf, "%%%02X", (int)c);