Mercurial > masqmail
comparison src/fail_msg.c @ 207:dcb315792513
removed commented code and replaced // by /* */
author | meillo@marmaro.de |
---|---|
date | Sun, 18 Jul 2010 21:41:48 +0200 |
parents | f671821d8222 |
children | bc9d9cd9ee8e |
comparison
equal
deleted
inserted
replaced
206:0241aaccfcdb | 207:dcb315792513 |
---|---|
56 if ((file = fopen(template, "r"))) { | 56 if ((file = fopen(template, "r"))) { |
57 FILE *out; | 57 FILE *out; |
58 gchar *cmd; | 58 gchar *cmd; |
59 pid_t pid; | 59 pid_t pid; |
60 | 60 |
61 // cmd = g_strdup_printf(SBINDIR"/masqmail -oi -f \"<>\" %s@%s", | |
62 // ret_path->local_part, ret_path->domain); | |
63 cmd = g_strdup_printf(SBINDIR "/masqmail -oi -f <> %s@%s", ret_path->local_part, ret_path->domain); | 61 cmd = g_strdup_printf(SBINDIR "/masqmail -oi -f <> %s@%s", ret_path->local_part, ret_path->domain); |
64 if ((out = peidopen(cmd, "w", environ, &pid, conf.mail_uid, conf.mail_gid))) { | 62 if ((out = peidopen(cmd, "w", environ, &pid, conf.mail_uid, conf.mail_gid))) { |
65 gchar fmt[256], line[256]; | 63 gchar fmt[256], line[256]; |
66 int status, ret; | 64 int status, ret; |
67 | 65 |