Did away with lprintf all together now its called CtdlLogPrintf()
[citadel.git] / citadel / ecrash.c
index a030842cdda96451683abef5946aa0b4a359d240..4663046522e2f3eb80f283d843a0cf1fd659f3ff 100644 (file)
@@ -172,7 +172,7 @@ static void outputPrintf(char *format, ...)
                syslog( LOG_CRIT|LOG_NDELAY|LOG_MAIL, StrBuf);
        }
        else
-               lprintf(CTDL_EMERG, format, ap);
+               CtdlLogPrintf(CTDL_EMERG, format, ap);
 
 } // outputPrintf
 
@@ -197,7 +197,7 @@ static void createGlobalBacktrace( void )
                }
        else 
                for (NThread = 0; NThread < size; NThread++) 
-                       lprintf(1, "RAW: %p\n", stack_frames[NThread]);
+                       CtdlLogPrintf(1, "RAW: %p\n", stack_frames[NThread]);
        strings = backtrace_symbols(stack_frames, size);
        for (NThread = 0; NThread < size; NThread++) {
                if (strings != NULL) {
@@ -207,7 +207,7 @@ static void createGlobalBacktrace( void )
                                syslog( LOG_CRIT|LOG_NDELAY|LOG_MAIL, StrBuf);
                        }
                        else
-                               lprintf(1, "%s\n", strings[NThread]);
+                               CtdlLogPrintf(1, "%s\n", strings[NThread]);
                }
        }
 } /* createGlobalBacktrace */
@@ -223,7 +223,7 @@ static void outputRawtrace( void )
                }
        else 
                for (NThread = 0; NThread < size; NThread++) 
-                       lprintf(1, "RAW: %p\n", stack_frames[NThread]);
+                       CtdlLogPrintf(1, "RAW: %p\n", stack_frames[NThread]);
 } /* createGlobalBacktrace */
 
 /*!