Fix some more bugs.

This commit is contained in:
Jordan Bancino 2022-10-31 20:41:50 -04:00
parent 63dbf9ae35
commit bbee9dcea6
2 changed files with 2 additions and 1 deletions

View file

@ -327,7 +327,7 @@ HttpUrlDecode(char *str)
i = 0;
inputLen = strlen(str);
decoded = Malloc(inputLen);
decoded = Malloc(inputLen + 1);
if (!decoded)
{

View file

@ -33,6 +33,7 @@
#include <time.h>
#include <sys/time.h>
#include <errno.h>
#include <limits.h>
unsigned long
UtilServerTs(void)