summaryrefslogtreecommitdiff
path: root/maidag/deliver.c
diff options
context:
space:
mode:
Diffstat (limited to 'maidag/deliver.c')
-rw-r--r--maidag/deliver.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/maidag/deliver.c b/maidag/deliver.c
index 5a6525936..25a7ab642 100644
--- a/maidag/deliver.c
+++ b/maidag/deliver.c
@@ -385,13 +385,6 @@ do_delivery (mu_url_t url, mu_message_t msg, const char *name, char **errp)
auth->mailbox, mu_strerror (status));
return exit_code = EX_UNAVAILABLE;
}
- status = mu_url_parse (url);
- if (status)
- {
- maidag_error (_("error parsing URL %s: %s"),
- auth->mailbox, mu_strerror (status));
- return exit_code = EX_UNAVAILABLE;
- }
}
status = mu_mailbox_create_from_url (&mbox, url);
@@ -437,14 +430,6 @@ deliver_to_url (mu_message_t msg, char *dest_id, char **errp)
mu_strerror (status));
return EX_NOUSER;
}
- status = mu_url_parse (url);
- if (status)
- {
- maidag_error (_("%s: cannot parse url: %s"), dest_id,
- mu_strerror (status));
- mu_url_destroy (&url);
- return EX_NOUSER;
- }
status = mu_url_sget_user (url, &name);
if (status == MU_ERR_NOENT)
name = NULL;

Return to:

Send suggestions and report system problems to the System administrator.