From: Fredrik Tolf Date: Wed, 18 May 2016 04:48:32 +0000 (+0200) Subject: Merge branch 'master' of git.dolda2000.com:/srv/git/r/ashd X-Git-Url: http://dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=9c2c000910cf1ec8ce86eeece2dd263e83970a50;hp=bdbb6d12f5f73262685f871685cfd32bba9bdeb4 Merge branch 'master' of git.dolda2000.com:/srv/git/r/ashd --- 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);