[qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2

2011-08-17 Thread Sirko Zidlewitz
ezmlm-idx changed its syntax for some commands regarding subdirectories. So if I try to list moderators in qmailadmin 1.2.16, the list is always empty and httpd-error.log says: [Wed Aug 17 15:09:19 2011] [error] [client 0.0.0.0] ezmlm-list: fatal: /home/vpopmail//newsletter/mod/key does not

[qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2: Patch

2011-08-17 Thread Sirko Zidlewitz
My Collegue Robert Schulze r...@bytecamp.net has written a patch for mailinglist.c, but it is for qmailadmin 1.2.15. It works for us. Thanks Rob. --- mailinglist.c.orig 2011-08-17 15:53:26.0 +0200 +++ mailinglist.c 2011-08-17 15:53:32.0 +0200 @@ -665,6 +665,7 @@ int

Re: [qmailadmin] qmailadmin has problems with ezmlm-idx 7.0.2: Patch

2011-08-17 Thread Tom Collins
if (dbuf) will always be true, since you're referring to the array. I think you want if (*dbuf) (e.g., if the first character of dbuf is not null). Likewise, your test of strcmp(dir,)==0 would be clearer as just *dir == '\0'. Use strcpy instead of sprintf to copy strings like this: