#include <ctype.h>
#include <errno.h>
+#include <lib-lib/str.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
if (!strcmp (buff, "}"))
break;
- strncpy (val + STRLEN (val), buff, sizeof (val) - STRLEN (val));
+ m_strcat(val, sizeof(val), buff);
}
while ((s = get_token (buff, sizeof (buff), s)));
/* SGML based manual */
case F_SGML:
{
- add_s ("\n<muttng-doc:vardef name=\"");
+ add_s ("\n<madmutt-doc:vardef name=\"");
sgml_fputs (varname);
add_s ("\">\n<para>Type: <literal>");
add_s (type2human (type));
}
case SP_END_SECT:
{
- add_s ("</muttng-doc:vardef>\n");
+ add_s ("</madmutt-doc:vardef>\n");
break;
}
case SP_STR: