mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverControler


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/daemon/driver/driverControlers.ml
Date: Sun, 20 Nov 2005 19:12:45 -0500

Index: mldonkey/src/daemon/driver/driverControlers.ml
diff -u mldonkey/src/daemon/driver/driverControlers.ml:1.49 
mldonkey/src/daemon/driver/driverControlers.ml:1.50
--- mldonkey/src/daemon/driver/driverControlers.ml:1.49 Sun Oct 30 21:10:18 2005
+++ mldonkey/src/daemon/driver/driverControlers.ml      Mon Nov 21 00:12:44 2005
@@ -340,11 +340,11 @@
   let time = last_time () in
   let tm = Unix.localtime (date_of_int time) in
   List.iter (fun (days, hours, command) ->
-      if (List.mem tm.Unix.tm_wday days || days = [])  &&
+      if (List.mem tm.Unix.tm_wday days || days = []) &&
         (List.mem tm.Unix.tm_hour hours || hours = []) then begin
-          eval (ref true) command calendar_options;
           lprintf_nl () "Calendar execute: %s" command;
-          lprintf_nl () "%s" (Buffer.contents calendar_options.conn_buf);
+          eval (ref true) command calendar_options;
+          lprintf_nl () "Calendar result: %s" (Buffer.contents 
calendar_options.conn_buf);
           Buffer.reset calendar_options.conn_buf;
         end
   ) !!calendar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]