aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-11-01 08:55:38 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-11-01 08:55:38 +0800
commite0668b4fde4f2800ad223b226fe04b7ccb42c56a (patch)
treeed59a1cfe63526049a48c405945d8676bc5fabb3 /mail/mail-callbacks.c
parenta4768bf6b4c80e7dca746097251702a0d1d8020a (diff)
downloadgsoc2013-evolution-e0668b4fde4f2800ad223b226fe04b7ccb42c56a.tar
gsoc2013-evolution-e0668b4fde4f2800ad223b226fe04b7ccb42c56a.tar.gz
gsoc2013-evolution-e0668b4fde4f2800ad223b226fe04b7ccb42c56a.tar.bz2
gsoc2013-evolution-e0668b4fde4f2800ad223b226fe04b7ccb42c56a.tar.lz
gsoc2013-evolution-e0668b4fde4f2800ad223b226fe04b7ccb42c56a.tar.xz
gsoc2013-evolution-e0668b4fde4f2800ad223b226fe04b7ccb42c56a.tar.zst
gsoc2013-evolution-e0668b4fde4f2800ad223b226fe04b7ccb42c56a.zip
Shouldn't we be strdup'ing the content? This seems to fix the memory
2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_get_message_body): Shouldn't we be strdup'ing the content? This seems to fix the memory corruption problems. (mail_generate_reply): Make sure that the last char in the generated reply text is '\0' (when bodt text doesn't end with a \n, a random char will appear otherwise). svn path=/trunk/; revision=6306
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 306b4e2003..efe5f8d1f5 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -745,8 +745,8 @@ filter_edit (BonoboUIComponent *uih, void *user_data, const char *path)
GtkWidget *dialog;
gchar *err;
- err = g_strdup_printf (_("Error loading filter information:\n"
- "%s"), ((RuleContext *)fc)->error);
+ err = g_strdup_printf (_("Error loading filter information:\n%s"),
+ ((RuleContext *)fc)->error);
dialog = gnome_warning_dialog (err);
g_free (err);