]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Yikes! sftp.c wasn't using the misc.h wrappered malloc functions,
authorSimon Tatham <anakin@pobox.com>
Wed, 14 Nov 2001 12:58:42 +0000 (12:58 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 14 Nov 2001 12:58:42 +0000 (12:58 +0000)
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 :-/

git-svn-id: http://svn.tartarus.org/sgt/putty@1383 cda61777-01e9-0310-a592-d414129be87e

sftp.c

diff --git a/sftp.c b/sftp.c
index 99d50a701c43596134450ae04f0a06db84073b8b..832dd9487179307025e3b11f21778118c38cf56e 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -7,13 +7,10 @@
 #include <string.h>
 #include <assert.h>
 
+#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) | \