projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a91df29
)
make hex array static
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 2 Jan 2013 18:42:19 +0000
(19:42 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 2 Jan 2013 18:46:17 +0000
(19:46 +0100)
utils.c
patch
|
blob
|
history
diff --git
a/utils.c
b/utils.c
index 742e2809559b414324fab5473bc4066f10a22ec5..49f885f02935d270c971045f85e301d2ce6e4df3 100644
(file)
--- a/
utils.c
+++ b/
utils.c
@@
-122,7
+122,7
@@
int uh_urlencode(char *buf, int blen, const char *src, int slen)
{
int i;
int len = 0;
- const char hex[] = "0123456789abcdef";
+
static
const char hex[] = "0123456789abcdef";
for (i = 0; (i < slen) && (len < blen); i++)
{