comparison 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
comparison
equal deleted inserted replaced
78:535075b4d261 79:56fa05fd5271
123 123
124 void pst_debug_msg_text(const char* fmt, ...) { 124 void pst_debug_msg_text(const char* fmt, ...) {
125 va_list ap; 125 va_list ap;
126 int f, g; 126 int f, g;
127 char x[2]; 127 char x[2];
128 char *buf = NULL; 128 #ifdef _WIN32
129 char *buf = NULL;
130 #endif
129 struct pst_debug_item *temp; 131 struct pst_debug_item *temp;
130 if (!debug_fp) return; // no file 132 if (!debug_fp) return; // no file
131 // get the record off of the temp_list 133 // get the record off of the temp_list
132 info_ptr = temp_list; 134 info_ptr = temp_list;
133 if (info_ptr) 135 if (info_ptr)