From: Felix Fietkau Date: Wed, 2 Jan 2013 18:42:19 +0000 (+0100) Subject: make hex array static X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=40598cdf18e0ed611b27f24ce11ac688e210eb3a;p=oweals%2Fuhttpd.git make hex array static --- diff --git a/utils.c b/utils.c index 742e280..49f885f 100644 --- 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++) {