Add nul termination

This commit is contained in:
Kurt Zeilenga 2001-10-26 02:01:42 +00:00
parent 192f83540c
commit f3f72c5d2a

View File

@ -286,6 +286,7 @@ static int hex_escape( char *buf, const char *s, int list )
}
}
buf[pos] = '\0';
return pos;
}