aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-send-recv.c15
2 files changed, 6 insertions, 14 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 66673e48bb..78cbb77ac6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2001-08-22 Peter Williams <peterw@ximian.com>
+
Prevent the user from creating two accounts with the same name.
* mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount): Abort
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;
}
tions'>-2/+2 * Step on kwm's toes and add PTHREAD_CFLAGS/LIBS to theadamw2005-12-251-2/+2 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-0/+1 * Switch over maintainership to Koop Mast <kwm@FreeBSD.org> who islioux2005-10-031-1/+1 * Update to 0.8.11.kwm2005-09-062-3/+3 * FreeBSD 504101 doesn't need the stacksize hack anymore, which marcus hasmezz2005-05-161-1/+1 * Update to 0.8.10.kwm2005-05-035-110/+10 * Fix a problem when playing mp3 would pause after a few seconds.kwm2005-03-172-1/+102 * Conditionally enable the initial thread stacksize hack on systems that needmarcus2005-03-123-10/+19 * Update to 0.8.9.kwm2005-02-103-5/+7 * Remove USE_REINPLACE=yes, we don't use it anymore [1].kwm2004-12-291-9/+2 * Update to version 0.8.8.kwm2004-12-263-83/+8 * Update to 0.8.7.marcus2004-10-122-3/+3 * Update to 0.8.6.marcus2004-10-122-10/+8 * Update to 0.8.5.marcus2004-08-173-27/+45 * Remove a dead patch, and fix the build with valgrind.marcus2004-08-052-0/+10 * Update to 0.8.4.marcus2004-08-037-116/+23 * Add missing directories to plist.adamw2004-07-282-1/+5 * * Fix a free'd memory access crash that occurs with malloc debugging enabled [1]marcus2004-07-033-8/+28 * Fix a double-free crash when running gst-inspect against certain plug-ins.marcus2004-06-302-0/+11 * Fix the build when valgrind is installed.marcus2004-06-251-0/+10 * Update to 0.8.3.marcus2004-06-155-19/+88 * Update to 0.8.1, a bug-fix release.marcus2004-04-294-19/+8 * Presenting GNOME 2.6.0. The FreeBSD GNOME Team feels this our best releasemarcus2004-04-059-101/+86 * Make sure to link against libc_r on 5.X if requested to do so. This shouldmarcus2004-02-222-7/+16 * USE_SIZEifylioux2004-02-082-0/+2 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * USE_REINPLACE need be defined only when REINPLACE_CMD is used.trevor2003-11-171-1/+0 * Update to 0.6.4.marcus2003-10-143-8/+8 * Fix build on ia64.marcus2003-09-301-2/+11 * Remove -Werror to fix build on Alpha.marcus2003-09-261-0/+20 * Update to GNOME 2.4.0. For all the goodies on what's changed, known issues,marcus2003-09-185-23/+24 * Update to 0.6.2lioux2003-06-123-5/+8 * Update to 0.6.1lioux2003-04-225-17/+54 * Remove USE_GNOMENG.marcus2003-04-211-1/+0 * Add a patch to cast pointers to intptr_t instead of int when performingjhb2003-03-191-4/+13 * De-pkg-commentlioux2003-02-242-1/+1 * Update to GNOME 2.2.marcus2003-02-081-2/+2 * * Update to 0.6.0marcus2003-02-065-115/+130 * After repo copy from graphics category, update all appropriatelioux2002-11-281-1/+1 * Fix build in -CURRENTlioux2002-11-151-0/+10 * o Simplify LIB_DEPENDS dependency graphlioux2002-11-152-5/+22 * Update to 0.4.2lioux2002-11-133-12/+9 * Update to 0.4.1lioux2002-10-276-55/+23 * BROKEN -> IGNORE to prevent package buildkris2002-10-131-1/+1 * USE_BISONlioux2002-07-281-0/+1