From: Fredrik Tolf Date: Sat, 9 Apr 2016 03:39:17 +0000 (+0200) Subject: lib: Fixed weird urlquote typo. X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=b04429ebd08b1a5cbb05938e935e48ab7223a382 lib: Fixed weird urlquote typo. --- 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);