From e44fff904efc9f973d6f725fa3712b8a46a42a6f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 27 Aug 2001 02:23:22 +0000 Subject: Call va_end() so LinuxPPC doesn't have a caniption. 2001-08-26 Jeffrey Stedfast * mail-ops.c (report_status): Call va_end() so LinuxPPC doesn't have a caniption. svn path=/trunk/; revision=12478 --- mail/ChangeLog | 5 +++++ mail/mail-ops.c | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 94aa66e71f..3647b0b3b9 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-08-26 Jeffrey Stedfast + + * mail-ops.c (report_status): Call va_end() so LinuxPPC doesn't + have a caniption. + 2001-08-24 Jeffrey Stedfast * mail-display.c (launch_cb): Use the new e_mkdtemp function. diff --git a/mail/mail-ops.c b/mail/mail-ops.c index b3bfef3ec8..a28db9a9e8 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -671,16 +671,17 @@ struct _send_queue_msg { }; static void -report_status(struct _send_queue_msg *m, enum camel_filter_status_t status, int pc, const char *desc, ...) +report_status (struct _send_queue_msg *m, enum camel_filter_status_t status, int pc, const char *desc, ...) { va_list ap; char *str; if (m->status) { - va_start(ap, desc); - str = g_strdup_vprintf(desc, ap); - m->status(m->driver, status, pc, str, m->status_data); - g_free(str); + va_start (ap, desc); + str = g_strdup_vprintf (desc, ap); + va_end (ap); + m->status (m->driver, status, pc, str, m->status_data); + g_free (str); } } -- cgit v1.2.3