properly terminate the string created by Info_MakeString (this was the source

of the absurd connect messages)
This commit is contained in:
Bill Currie 2001-12-03 21:24:48 +00:00
parent 650d682d2c
commit 610feb9fc6

View file

@ -265,6 +265,7 @@ Info_MakeString (info_t *info, int (*filter)(const char *))
for (s = (*key)->value; *s; s++) for (s = (*key)->value; *s; s++)
*d++ = *s; *d++ = *s;
} }
*d = 0;
free (key_list); free (key_list);
return string; return string;
} }