From b04429ebd08b1a5cbb05938e935e48ab7223a382 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sat, 9 Apr 2016 05:39:17 +0200 Subject: [PATCH] lib: Fixed weird urlquote typo. --- lib/resp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0