From 610feb9fc620d98ac49424755d8a25ef79f4e14f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 3 Dec 2001 21:24:48 +0000 Subject: [PATCH] properly terminate the string created by Info_MakeString (this was the source of the absurd connect messages) --- libs/util/info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/util/info.c b/libs/util/info.c index 4243ae6d6..5d3faff2f 100644 --- a/libs/util/info.c +++ b/libs/util/info.c @@ -265,6 +265,7 @@ Info_MakeString (info_t *info, int (*filter)(const char *)) for (s = (*key)->value; *s; s++) *d++ = *s; } + *d = 0; free (key_list); return string; }