summaryrefslogtreecommitdiffabout
path: root/src/main.c
authorSergey Poznyakoff <gray@gnu.org.ua>2007-01-24 01:32:38 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-01-24 01:32:38 (GMT)
commit7a7220b10e6d733e326c6534095e6ac61415f1f7 (patch) (side-by-side diff)
treee3761acc104822d27bffd53b459d8ab6e7013ba0 /src/main.c
parent33aa1c504a91ece7a39e1ec3938ce2ce681f3fee (diff)
downloadmailfromd-7a7220b10e6d733e326c6534095e6ac61415f1f7.tar.gz
mailfromd-7a7220b10e6d733e326c6534095e6ac61415f1f7.tar.bz2
Use DEFAULT_FROM_ADDRESS
git-svn-id: file:///svnroot/mailfromd/trunk@1234 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'src/main.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e149b78..79d304c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -488,7 +488,7 @@ option_mailfrom(char *opt, void **pval, char *newval)
/* FIXME-MU: compensate for mailutils deficiency */
if (newval[0] == 0)
- newval = "<>";
+ newval = DEFAULT_FROM_ADDRESS;
if (get_locus()->file)
parse_warning(
"`#pragma option mailfrom' is deprecated, consider using "
@@ -518,7 +518,7 @@ set_mailfrom(void *value)
/* FIXME-MU: compensate for mailutils deficiency */
if (*(char*)value == 0)
- value = "<>";
+ value = DEFAULT_FROM_ADDRESS;
rc = mu_address_create(&addr, value);
if (rc) {

Return to:

Send suggestions and report system problems to the System administrator.