diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 19:42:19 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-02 19:46:17 +0100 |
commit | 40598cdf18e0ed611b27f24ce11ac688e210eb3a (patch) | |
tree | eb67a4c236a4defa986a7e7006a6cbd5204cbf90 | |
parent | a91df297fe85b29805a1a1591e9a6371b357f95c (diff) |
make hex array static
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++) { |