diff --git a/src/gophernicus.c b/src/gophernicus.c index 2b9a0ed..0b6094b 100644 --- a/src/gophernicus.c +++ b/src/gophernicus.c @@ -127,6 +127,7 @@ void html_encode(const char *unsafe, char *dest, int bufsize) i += 1; } } + dest[j] = '\0'; } /*