From 33e0c3723477661731e126889a11b92b0f8248d1 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 14 Dec 2001 23:50:04 +0000 Subject: Set the filter driver's shell-exec callback. 2001-12-14 Jeffrey Stedfast * mail-ops.c (mail_fetch_mail): Set the filter driver's shell-exec callback. svn path=/trunk/; revision=15088 --- mail/mail-ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-ops.c') diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 6bb3f5b5f0..023d1781d1 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -406,6 +406,7 @@ mail_fetch_mail (const char *source, int keep, const char *type, CamelOperation fm->driver = camel_session_get_filter_driver (session, type, NULL); camel_filter_driver_set_folder_func (fm->driver, get_folder, get_data); + camel_filter_driver_set_shell_exec_func (fm->driver, mail_execute_shell_command, NULL); if (status) camel_filter_driver_set_status_func (fm->driver, status, status_data); @@ -2213,7 +2214,7 @@ static struct _mail_msg_op execute_shell_command_op = { }; void -mail_execute_shell_command (const char *command) +mail_execute_shell_command (CamelFilterDriver *driver, const char *command, void *data) { struct _execute_shell_command_msg *m; -- cgit v1.2.3