]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Cleanup debug logging that slipped in in the faxq-scheduler fix.
authorAidan Van Dyk <aidan@ifax.com>
Fri, 28 Apr 2006 18:30:06 +0000 (18:30 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Fri, 28 Apr 2006 18:30:06 +0000 (18:30 +0000)
faxd/faxQueueApp.c++

index ed958e92f2c53ad75492286bc228db8e25f11ac1..09bfafdf2b0bf411c6b560bf3639a3fb5b8bba8d 100644 (file)
@@ -2319,7 +2319,6 @@ faxQueueApp::areBatchable(Job& job, Job& nextjob, FaxRequest& nextreq)
 void
 faxQueueApp::runScheduler()
 {
-logError("faxQueueApp::runScheduler()");
     /*
      * Terminate the server if there are no jobs currently
      * being processed.  We must be sure to wait for jobs
@@ -2333,8 +2332,9 @@ logError("faxQueueApp::runScheduler()");
        return;
     }
 
-fxAssert(inSchedule == false, "Scheduler running twice");
-inSchedule = true;
+    fxAssert(inSchedule == false, "Scheduler running twice");
+    inSchedule = true;
+
     /*
      * Reread the configuration file if it has been
      * changed.  We do this before each scheduler run