From: Fredrik Tolf Date: Wed, 18 May 2016 12:56:50 +0000 (+0200) Subject: Merge branch 'master' into duplex X-Git-Url: http://dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=946e7f1834521f32eed2bda4fbd362b95fda8b16;hp=6d1caa155319702b5a36af8e5e2b94bf9f3b39f8 Merge branch 'master' into duplex --- 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);