aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-02 23:46:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-02 23:46:52 +0800
commitd7a067c9eec1920ed5e73384214599da3409d9af (patch)
treec12061da1432874f7ec25422f9e5dc10693f4709 /e-util
parent392fb3dd96ebd60ead293101ef67449b5c8e2fc9 (diff)
downloadgsoc2013-evolution-d7a067c9eec1920ed5e73384214599da3409d9af.tar.gz
gsoc2013-evolution-d7a067c9eec1920ed5e73384214599da3409d9af.tar.zst
gsoc2013-evolution-d7a067c9eec1920ed5e73384214599da3409d9af.zip
Always set a format prop so that 1.4 and older 1.5 versions won't strcmp()
2004-04-02 Jeffrey Stedfast <fejj@ximian.com> * e-signature.c (e_signature_to_xml): Always set a format prop so that 1.4 and older 1.5 versions won't strcmp() on a NULL value. svn path=/trunk/; revision=25299
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-signature.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 90db74dc9e..b23b1b1cb3 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-02 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-signature.c (e_signature_to_xml): Always set a format prop so
+ that 1.4 and older 1.5 versions won't strcmp() on a NULL value.
+
2004-04-01 Jeffrey Stedfast <fejj@ximian.com>
* e-account.c: Reference signatures by their UID rather than by an
diff --git a/e-util/e-signature.c b/e-util/e-signature.c
index 6f34472c65..c02857abb6 100644
--- a/e-util/e-signature.c
+++ b/e-util/e-signature.c
@@ -347,6 +347,9 @@ e_signature_to_xml (ESignature *signature)
if (signature->script)
xmlSetProp (node, "script", "true");
}
+ } else {
+ /* this is to make Evolution-1.4 and older 1.5 versions happy */
+ xmlSetProp (root, "format", "text/html");
}
xmlDocDumpMemory (doc, (xmlChar **) &xmlbuf, &n);
142-3/+3 * - Update to 14.3.20151130danilo2015-12-032-4/+3 * - Remove unneeded dependenciesdanilo2015-11-131-16/+4 * - Update to 14.3.20151110danilo2015-11-112-3/+3 * - Update to 14.3.20151030danilo2015-11-052-10/+10 * - Add CPE infoamdmi32015-05-081-1/+1 * - Update to 1.8.007.20150218danilo2015-02-192-5/+5 * Cleanup plistantoine2014-11-131-10/+6 * - Update from 1.8.007.20140506 to 1.8.007.20140512danilo2014-05-122-5/+5 * - Update from 1.8.006.20140307 to 1.8.007.20140506danilo2014-05-072-5/+5 * Convert all :U to :tu and :L to :tlbapt2014-05-051-1/+1 * - Convert USE_BZIP2 to USESdanilo2014-04-261-1/+1 * - Update from 1.8.006.20140217 to 1.8.006.20140307danilo2014-03-102-5/+5 * - Update from 1.8.005.20131007 to 1.8.006.20140217danilo2014-02-202-44/+14 * - Add stage supportdanilo2013-10-191-21/+16 * - Update from 1.8.005.20131001 to 1.8.005.20131007danilo2013-10-092-6/+6 * - Update from 1.8.004.20130831 to 1.8.005.20131001 [1]danilo2013-10-072-6/+6 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * - Update to 1.8.004.20130831sunpoet2013-09-032-5/+5 * - Update to 1.8.004.20130819sunpoet2013-08-262-5/+5 * - Update to 1.8.004.20130816sunpoet2013-08-182-6/+7 * deskutils/egroupware: update to 1.8.004.20130727wg2013-08-012-5/+5 * deskutils/egroupware: update to 20130620wg2013-06-232-5/+5 * - Update to 1.8.004.20130531bdrewery2013-06-052-8/+12 * - Update to 1.8.004.20121024wen2012-10-252-5/+5 * - Update to 1.8.004.20120822wen2012-10-252-33/+33 * - Update to 1.8.004.20120507wen2012-05-082-5/+5 * - Update to 1.8.004.20120407wen2012-04-112-6/+18 * - Update to 1.8.002.20111111wen2011-11-292-5/+5 * - Update to 1.8.002.20111011wen2011-10-122-6/+6