]> granicus.if.org Git - curl/commitdiff
Kimmo Kinnunen fixed a crash with duphandle() when CURLDEBUG was set
authorDaniel Stenberg <daniel@haxx.se>
Tue, 14 Oct 2003 13:10:05 +0000 (13:10 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Oct 2003 13:10:05 +0000 (13:10 +0000)
lib/easy.c

index f76df632b8a74e8788bba6c228255c8b54bd4ec0..6274812dd2de5ac1d0533bbdbaab31fac711dfbb 100644 (file)
 #define _MPRINTF_REPLACE /* use our functions only */
 #include <curl/mprintf.h>
 
+/* The last #include file should be: */
+#ifdef CURLDEBUG
+#include "memdebug.h"
+#endif
 
 /* Silly win32 socket initialization functions */