forked from lda/telodendria
Fix some more bugs.
This commit is contained in:
parent
63dbf9ae35
commit
bbee9dcea6
2 changed files with 2 additions and 1 deletions
|
@ -327,7 +327,7 @@ HttpUrlDecode(char *str)
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
inputLen = strlen(str);
|
inputLen = strlen(str);
|
||||||
decoded = Malloc(inputLen);
|
decoded = Malloc(inputLen + 1);
|
||||||
|
|
||||||
if (!decoded)
|
if (!decoded)
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
unsigned long
|
unsigned long
|
||||||
UtilServerTs(void)
|
UtilServerTs(void)
|
||||||
|
|
Loading…
Reference in a new issue