diff src/debug.c @ 79:56fa05fd5271

Patch from Robert Simpson for encryption type 2. Fix the order of testing item types to avoid claiming there are multiple message stores.
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2008 20:47:01 -0700
parents 987aa872294e
children 631d02d30a1c
line wrap: on
line diff
--- a/src/debug.c	Tue Jun 10 14:28:55 2008 -0700
+++ b/src/debug.c	Fri Jun 13 20:47:01 2008 -0700
@@ -125,7 +125,9 @@
     va_list ap;
     int f, g;
     char x[2];
-    char *buf = NULL;
+    #ifdef _WIN32
+        char *buf = NULL;
+    #endif
     struct pst_debug_item *temp;
     if (!debug_fp) return;  // no file
     // get the record off of the temp_list