X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=utils.c;h=49f885f02935d270c971045f85e301d2ce6e4df3;hb=119244d9b13e84eb898f9fb97e83cac260c1a0b5;hp=742e2809559b414324fab5473bc4066f10a22ec5;hpb=6dfd8f67760b977ec7e345aece872c2a40a3be1e;p=project%2Fuhttpd.git 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++) {