I have added a patch for that issue on sourceforge some time ago. It's running
here on my systems:
http://sourceforge.net/tracker/?func=detailaid=3094082group_id=6691atid=306691
Johannes
Am 18.08.11 10:38, schrieb Robert Schulze:
Hi,
Am 17.08.2011 17:03, schrieb Tom Collins:
if (dbuf) will
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
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: