]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
mlmmj-process: fix typo
authorBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 12 Apr 2023 15:45:30 +0000 (17:45 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 12 Apr 2023 15:45:30 +0000 (17:45 +0200)
src/mlmmj-process.c

index 73e4df841cddc09bd5a7bca87d417ca788ec11a9..3cddc8d8eebb15a4f7360e1f9a4ac946757d2b3e 100644 (file)
@@ -181,7 +181,7 @@ static void newmoderated(struct ml *ml, const char *mailfilename,
        close_text(txt);
 
        /* we might need to exec more than one mlmmj-send */
-       
+
        notifymod = !efromismod && statctrl(ml->ctrlfd,"notifymod");
 
        if (notifymod) {
@@ -821,7 +821,7 @@ int main(int argc, char **argv)
                        moderated = 1;
                        modreason = ACCESS;
                } else if (accret == DISCARD) {
-                       xasprintf(&discardname, "%s/queue/discardrd/%s", ml.dir,
+                       xasprintf(&discardname, "%s/queue/discarded/%s", ml.dir,
                            randomstr);
                        free(randomstr);
                        if(rename(donemailname, discardname) < 0) {