silence error message in mlmmj-maintd
PATCH 1/1 silence error message in mlmmj-maintd
Hello together,
attached patch silences the following error message in mlmmj-maintd if archiving is disabled:
-----------------------------
Jun 13 02:02:37 intranator /usr/bin/mlmmj-maintd[22978]: mlmmj-maintd.c:838:
Could not open '/var/spool/mlmmj/test/index': No such file or directory
-----------------------------
Are there any plans to release a new version
including the two patches I sent earlier?
Cheers,
Thomas
src/mlmmj-maintd.c +4 -0
@@ -44,6 +44,7 @@#include "ctrlvalue.h" #include "send_digest.h" #include "mylocking.h" +#include "statctrl.h" #include "log_oper.h" static void print_help (const char *prg)
@@ -771,6 +772,9 @@ int run_digests(const char *listdir, conint fd, indexfd, lock;size_t lenbuf, lenstr; +if (statctrl (listdir,"noarchive" ) ==1 ) +return 0 ; + digestintervalstr =ctrlvalue (listdir,"digestinterval" );if (digestintervalstr) { digestinterval = (time_t )atol (digestintervalstr);
Quoted 2 lines · Thomas Jarosch
attached patch silences the following error message in mlmmj-maintd if archiving is disabled:
Cool, thanks.
Quoted 2 lines
Are there any plans to release a new version
including the two patches I sent earlier?
Yes, I am full of plans ;)
I've been working almost around the clock the last many weeks, so mlmmj has been down-prioritized. I am on vacation now (but my room has an Internet connection... though I'm not addicted), so I will probably not work on it for another month. Mads Martin talked about doing a release. I don't know if he still want to do it.
Mads Martin - if you have the time, could you commit all the good patches, and roll a release candidate?
Morten
Signature · 2 lines
Morten K. Poulsen <[email protected]> http://www.afdelingp.dk/