aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-23 05:26:29 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-23 05:26:29 +0800
commitb45d088235f3dbe63baf3940edc32016923fa52b (patch)
treeae7075e405ee2345f4e1f3a09faae7aa1a7c8fb4 /mail/mail-send-recv.c
parent1c2a1b397488bd61ee1cd69ff6ebf8a98b5898b8 (diff)
downloadgsoc2013-evolution-b45d088235f3dbe63baf3940edc32016923fa52b.tar.gz
gsoc2013-evolution-b45d088235f3dbe63baf3940edc32016923fa52b.tar.zst
gsoc2013-evolution-b45d088235f3dbe63baf3940edc32016923fa52b.zip
We don't need to escape this for printf'ing.
2001-08-22 Peter Williams <peterw@ximian.com> * mail-send-recv.c (set_send_status): We don't need to escape this for printf'ing. svn path=/trunk/; revision=12394
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index d47d69d278..af2390b2b0 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -412,22 +412,9 @@ update_folders(char *uri, struct _folder_info *info, void *data)
static void set_send_status(struct _send_info *info, const char *desc, int pc)
{
- const char *p;
- char *out, *o, c;
-
- out = alloca(strlen(desc)*2+1);
- o = out;
- p = desc;
- while ((c = *p++)) {
- if (c=='%')
- *o++ = '%';
- *o++ = c;
- }
- *o = 0;
-
/* FIXME: LOCK */
g_free(info->what);
- info->what = g_strdup(out);
+ info->what = g_strdup(desc);
info->pc = pc;
}