diff options
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 15 |
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; } |