aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-27 10:23:22 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-27 10:23:22 +0800
commite44fff904efc9f973d6f725fa3712b8a46a42a6f (patch)
treed7f98562689c3d1206d52419c4f30ebb2d846438 /mail/mail-ops.c
parentf269d7ad26133f480643a9b5a08ce7079414c756 (diff)
downloadgsoc2013-evolution-e44fff904efc9f973d6f725fa3712b8a46a42a6f.tar
gsoc2013-evolution-e44fff904efc9f973d6f725fa3712b8a46a42a6f.tar.gz
gsoc2013-evolution-e44fff904efc9f973d6f725fa3712b8a46a42a6f.tar.bz2
gsoc2013-evolution-e44fff904efc9f973d6f725fa3712b8a46a42a6f.tar.lz
gsoc2013-evolution-e44fff904efc9f973d6f725fa3712b8a46a42a6f.tar.xz
gsoc2013-evolution-e44fff904efc9f973d6f725fa3712b8a46a42a6f.tar.zst
gsoc2013-evolution-e44fff904efc9f973d6f725fa3712b8a46a42a6f.zip
Call va_end() so LinuxPPC doesn't have a caniption.
2001-08-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (report_status): Call va_end() so LinuxPPC doesn't have a caniption. svn path=/trunk/; revision=12478
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c11
1 files changed, 6 insertions, 5 deletions
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);
}
}