Fixed a bug which caused compile and runtime errors with IM_NOLOG=1
authorArnar Mar Hrafnkelsson <addi@cpan.org>
Sat, 26 May 2001 09:00:21 +0000 (09:00 +0000)
committerArnar Mar Hrafnkelsson <addi@cpan.org>
Sat, 26 May 2001 09:00:21 +0000 (09:00 +0000)
log.c

diff --git a/log.c b/log.c
index 979c3a9bc872e65c34b98b4de31a600b8673a0f7..37430a8c909b0fdd7fe6c352f03135f35284c09e 100644 (file)
--- a/log.c
+++ b/log.c
@@ -56,12 +56,11 @@ m_fatal(int exitcode,const char *fmt, ... ) {
 
 /*
  * Logging is inactive - insert dummy functions
-
+ */
 
 void init_log(const char* name,int onoff) {}
-void m_fatal(int exitcode,const char *fmt, ... ) { return(exitcode); }
+void m_fatal(int exitcode,const char *fmt, ... ) { exit(exitcode); }
 
-*/
 
 #endif