]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
- subswitch, NULL);
authormmj <none@none>
Wed, 19 Jan 2005 19:22:14 +0000 (06:22 +1100)
committermmj <none@none>
Wed, 19 Jan 2005 19:22:14 +0000 (06:22 +1100)
+                               subswitch, (char *)NULL);

To shut up gcc-4

src/listcontrol.c
src/mlmmj-bounce.c
src/mlmmj-maintd.c
src/mlmmj-process.c
src/mlmmj-send.c
src/mlmmj-sub.c
src/mlmmj-unsub.c
src/send_digest.c
src/send_help.c

index bee156208167a614e82d56d8a1d80e374ac3aed8..dcfa999a1934bbb4d61cf9f8355071ead148b030 100644 (file)
@@ -178,7 +178,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", fromemails->emaillist[0],
                                "-d",
-                               subswitch, NULL);
+                               subswitch, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                        mlmmjsub);
                exit(EXIT_FAILURE);
@@ -199,7 +199,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", fromemails->emaillist[0],
                                "-n",
-                               subswitch, NULL);
+                               subswitch, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                        mlmmjsub);
                exit(EXIT_FAILURE);
@@ -219,7 +219,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                execlp(mlmmjsub, mlmmjsub,
                                "-L", listdir,
                                "-a", fromemails->emaillist[0],
-                               subswitch, NULL);
+                               subswitch, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                        mlmmjsub);
                exit(EXIT_FAILURE);
@@ -246,7 +246,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", tmpstr,
                                "-d",
-                               "-c", NULL);
+                               "-c", (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjsub);
                exit(EXIT_FAILURE);
@@ -273,7 +273,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", tmpstr,
                                "-n",
-                               "-c", NULL);
+                               "-c", (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjsub);
                exit(EXIT_FAILURE);
@@ -300,7 +300,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                execlp(mlmmjsub, mlmmjsub,
                                "-L", listdir,
                                "-a", tmpstr,
-                               "-c", NULL);
+                               "-c", (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjsub);
                exit(EXIT_FAILURE);
@@ -321,7 +321,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", fromemails->emaillist[0],
                                "-d",
-                               subswitch, NULL);
+                               subswitch, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjunsub);
                exit(EXIT_FAILURE);
@@ -342,7 +342,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", fromemails->emaillist[0],
                                "-n",
-                               subswitch, NULL);
+                               subswitch, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjunsub);
                exit(EXIT_FAILURE);
@@ -362,7 +362,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                execlp(mlmmjunsub, mlmmjunsub,
                                "-L", listdir,
                                "-a", fromemails->emaillist[0],
-                               subswitch, NULL);
+                               subswitch, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjunsub);
                exit(EXIT_FAILURE);
@@ -389,7 +389,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", tmpstr,
                                "-d",
-                               "-c", NULL);
+                               "-c", (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjunsub);
                exit(EXIT_FAILURE);
@@ -416,7 +416,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", tmpstr,
                                "-n",
-                               "-c", NULL);
+                               "-c", (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjunsub);
                exit(EXIT_FAILURE);
@@ -443,7 +443,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                execlp(mlmmjunsub, mlmmjunsub,
                                "-L", listdir,
                                "-a", tmpstr,
-                               "-c", NULL);
+                               "-c", (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                mlmmjunsub);
                exit(EXIT_FAILURE);
@@ -462,7 +462,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-a", c,
                                "-m", mailname,
-                               "-n", bouncenr, NULL);
+                               "-n", bouncenr, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjbounce);
                exit(EXIT_FAILURE);
                break;
@@ -481,7 +481,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                fromemails->emaillist[0], moderatefilename);
                execlp(mlmmjsend, mlmmjsend,
                                "-L", listdir,
-                               "-m", moderatefilename, NULL);
+                               "-m", moderatefilename, (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                        mlmmjsend);
                exit(EXIT_FAILURE);
@@ -520,7 +520,7 @@ int listcontrol(struct email_container *fromemails, const char *listdir,
                                "-L", listdir,
                                "-l", "6",
                                "-m", archivefilename,
-                               "-a", "-D", NULL);
+                               "-a", "-D", (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed",
                                        mlmmjsend);
                exit(EXIT_FAILURE);
index 49b2318fec88fcbc3a7b8d6936bd7efac710e5e6..7acb40f2bbc1eb5eea0a2630206f97d17c502787 100644 (file)
@@ -157,7 +157,7 @@ void do_probe(const char *listdir, const char *mlmmjsend, const char *addr)
                                "-L", listdir,
                                "-T", myaddr,
                                "-F", from,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
 
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
 
index e31d3a708476913bc47e39275e277ef0dbc895ca..961e4fe24c22806badc22a60f559f2fde9a8310a 100644 (file)
@@ -319,14 +319,14 @@ int resend_queue(const char *listdir, const char *mlmmjsend)
                                                "-F", from,
                                                "-T", to,
                                                "-R", repto,
-                                               "-a", NULL);
+                                               "-a", (char *)NULL);
                        } else {
                                execlp(mlmmjsend, mlmmjsend,
                                                "-l", "1",
                                                "-m", mailname,
                                                "-F", from,
                                                "-T", to,
-                                               "-a", NULL);
+                                               "-a", (char *)NULL);
                        }
                }
        }
@@ -431,7 +431,7 @@ int resend_requeue(const char *listdir, const char *mlmmjsend)
                                        "-m", archivefilename,
                                        "-s", subnewname,
                                        "-a",
-                                       "-D", NULL);
+                                       "-D", (char *)NULL);
                }
        }
 
@@ -573,7 +573,7 @@ int probe_bouncers(const char *listdir, const char *mlmmjbounce)
                        execlp(mlmmjbounce, mlmmjbounce,
                                        "-L", listdir,
                                        "-a", probefile,
-                                       "-p", NULL);
+                                       "-p", (char *)NULL);
                        log_error(LOG_ARGS, "Could not execlp %s",
                                                mlmmjbounce);
                        return 1;
@@ -712,7 +712,7 @@ int unsub_bouncers(const char *listdir, const char *mlmmjunsub)
                } else {
                        execlp(mlmmjunsub, mlmmjunsub,
                                        "-L", listdir,
-                                       "-a", address, NULL);
+                                       "-a", address, (char *)NULL);
                        log_error(LOG_ARGS, "Could not execlp %s",
                                                mlmmjunsub);
                        return 1;
index 3b86c7a226be8d7fe82b0679cdb90c6cd40712a3..6362be3313e73e24645213c7b023e61b14473cd5 100644 (file)
@@ -142,7 +142,7 @@ void newmoderated(const char *listdir, const char *mailfilename,
                                "-l", "2",
                                "-L", listdir,
                                "-F", from,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
 
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
 
@@ -566,7 +566,7 @@ int main(int argc, char **argv)
                                        "-F", efromemails.emaillist[0],
                                        "-s", owner,
                                        "-a",
-                                       "-m", donemailname, NULL);
+                                       "-m", donemailname, (char *)NULL);
                        log_error(LOG_ARGS, "execlp() of '%s' failed",
                                        mlmmjsend);
                        exit(EXIT_FAILURE);
@@ -635,7 +635,7 @@ int main(int argc, char **argv)
                                "-l", "1",
                                "-T", fromemails.emaillist[0],
                                "-F", fromaddr,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
 
                log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
                exit(EXIT_FAILURE);
@@ -670,7 +670,7 @@ int main(int argc, char **argv)
                                        "-l", "1",
                                        "-T", fromemails.emaillist[0],
                                        "-F", fromaddr,
-                                       "-m", queuefilename, NULL);
+                                       "-m", queuefilename, (char *)NULL);
 
                        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
                        exit(EXIT_FAILURE);
@@ -709,7 +709,7 @@ int main(int argc, char **argv)
                                        "-l", "1",
                                        "-T", fromemails.emaillist[0],
                                        "-F", fromaddr,
-                                       "-m", queuefilename, NULL);
+                                       "-m", queuefilename, (char *)NULL);
 
                        log_error(LOG_ARGS, "execlp() of '%s' failed",
                                        mlmmjsend);
@@ -747,7 +747,7 @@ int main(int argc, char **argv)
        
        execlp(mlmmjsend, mlmmjsend,
                                "-L", listdir,
-                               "-m", donemailname, NULL);
+                               "-m", donemailname, (char *)NULL);
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
 
        return EXIT_FAILURE;
index fd2ae17ccd1df53c588cce29c57e1a90e7e85c82..9ea6053288dc6c1b72f47f73ace86daf14ad9ab2 100644 (file)
@@ -162,7 +162,7 @@ int bouncemail(const char *listdir, const char *mlmmjbounce, const char *from)
        execlp(mlmmjbounce, mlmmjbounce,
                        "-L", listdir,
                        "-a", num,
-                       "-n", addr, NULL);
+                       "-n", addr, (char *)NULL);
 
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjbounce);
 
index 57f9dad44b010af020473454cd9f2b07a83101ac..648dffac95b4ec1befc992a4df045cb23edef53b 100644 (file)
@@ -82,7 +82,7 @@ void confirm_sub(const char *listdir, const char *listaddr,
                                "-l", "1",
                                "-T", subaddr,
                                "-F", fromaddr,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
        exit(EXIT_FAILURE);
 }
@@ -128,7 +128,7 @@ void notify_sub(const char *listdir, const char *listaddr,
                        "-l", "1",
                        "-T", tostr,
                        "-F", fromaddr,
-                       "-m", queuefilename, NULL);
+                       "-m", queuefilename, (char *)NULL);
 
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
        exit(EXIT_FAILURE);
@@ -217,7 +217,7 @@ void generate_subconfirm(const char *listdir, const char *listaddr,
                                "-l", "1",
                                "-T", subaddr,
                                "-F", fromaddr,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
        exit(EXIT_FAILURE);
 }
index 780c0ce637e81509a54d82b8552bb9722591fde8..cc57f8bab78b76125967286b776c92aeccb66cec 100644 (file)
@@ -82,7 +82,7 @@ void confirm_unsub(const char *listdir, const char *listaddr,
                                "-l", "1",
                                "-T", subaddr,
                                "-F", fromaddr,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
 
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
        exit(EXIT_FAILURE);
@@ -130,7 +130,7 @@ void notify_unsub(const char *listdir, const char *listaddr,
                        "-l", "1",
                        "-T", tostr,
                        "-F", fromaddr,
-                       "-m", queuefilename, NULL);
+                       "-m", queuefilename, (char *)NULL);
 
         log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
         exit(EXIT_FAILURE);
@@ -220,7 +220,7 @@ void generate_unsubconfirm(const char *listdir, const char *listaddr,
                                "-l", "1",
                                "-T", subaddr,
                                "-F", fromaddr,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
        exit(EXIT_FAILURE);
 }
index 847d052d340ea603ff3738b13b57fe767b7cd18c..9896a0a86c1634ec62e805d6326da59ab8aba42c 100644 (file)
@@ -203,7 +203,7 @@ errdighdrs:
                                "-l", "7",
                                "-L", listdir,
                                "-m", queuename,
-                               NULL);
+                               (char *)NULL);
                log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
                exit(EXIT_FAILURE);  /* It is OK to exit, as this is a child */
        }
index ac69fff8da5a2dbe7887ad1210fe009cb34e5250..4c46261f64ffaba921b690f694317b3e249626bb 100644 (file)
@@ -67,7 +67,7 @@ void send_help(const char *listdir, const char *emailaddr,
                                "-l", "1",
                                "-T", emailaddr,
                                "-F", fromaddr,
-                               "-m", queuefilename, NULL);
+                               "-m", queuefilename, (char *)NULL);
 
        log_error(LOG_ARGS, "execlp() of '%s' failed", mlmmjsend);
        exit(EXIT_FAILURE);