Merge branch 'master' of git.dolda2000.com:/srv/git/r/ashd
authorFredrik Tolf <fredrik@dolda2000.com>
Wed, 18 May 2016 04:48:32 +0000 (06:48 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Wed, 18 May 2016 04:48:32 +0000 (06:48 +0200)
lib/resp.c

index bae24bf..be2f7bd 100644 (file)
@@ -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);