Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff28e3a
)
lib: Fixed weird urlquote typo.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 9 Apr 2016 03:39:17 +0000
(
05:39
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 9 Apr 2016 03:39:17 +0000
(
05:39
+0200)
lib/resp.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/resp.c
b/lib/resp.c
index
bae24bf
..
be2f7bd
100644
(file)
--- 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);