From f176cbe70fb5faf5cd87f57d69dc2fba29ef9fa7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 14 Nov 2001 12:58:42 +0000 Subject: [PATCH] Yikes! sftp.c wasn't using the misc.h wrappered malloc functions, meaning that PSFTP couldn't meaningfully be debugged using Minefield. That's what I get for developing it under Unix and forgetting to port it properly :-/ [originally from svn r1383] --- sftp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sftp.c b/sftp.c index 99d50a70..832dd948 100644 --- a/sftp.c +++ b/sftp.c @@ -7,13 +7,10 @@ #include #include +#include "misc.h" #include "int64.h" #include "sftp.h" -#define smalloc malloc -#define srealloc realloc -#define sfree free - #define GET_32BIT(cp) \ (((unsigned long)(unsigned char)(cp)[0] << 24) | \ ((unsigned long)(unsigned char)(cp)[1] << 16) | \