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 979c3a9..37430a8 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