From 71c4f066988a088f4798b96f2a56bcdd63034ec4 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 5 Jul 2006 10:47:31 +0000 Subject: [PATCH] Fixed problem with broken navigation links (strencode2 got wrong 'size' parameter) SVN revision: 1695 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 861e8a9c..6ebba386 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -15703,7 +15703,7 @@ void build_ref(char *ref, int size, char *mode, char *expand, char *attach, char /* replace any '&' by '&' */ strlcpy(str, ref, sizeof(str)); - strencode2(ref, str, sizeof(ref)); + strencode2(ref, str, size); } /*------------------------------------------------------------------*/