Now logs error messages in /tmp/mymail.err.
[mymail.git] / mymail.c
index 8a5fa24..a584e48 100644 (file)
--- a/mymail.c
+++ b/mymail.c
@@ -581,8 +581,8 @@ int search_in_db(const char *db_filename,
     }
   }
 
-  printf("global_discard_mail_from_the_future = %d\n",
-         global_discard_mail_from_the_future);
+  /* printf("global_discard_mail_from_the_future = %d\n",
+     global_discard_mail_from_the_future); */
 
   if(nb_extracted_mails < global_nb_mails_max &&
      current_mail_filename[0] &&
@@ -833,6 +833,7 @@ struct time_criterion {
 
 static struct time_criterion time_criteria[] = {
 
+  { "1h",        0,  1,       -1, -1 },
   { "8h",        0,  8,       -1, -1 },
   { "24h",       0, 24,       -1, -1 },
   { "48h",       0, 48,       -1, -1 },