diff options
author | Chris Toshok <toshok@ximian.com> | 2004-01-27 01:03:22 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-01-27 01:03:22 +0800 |
commit | 06ae1bac42c987d3592883cceb55eaaa1be2514f (patch) | |
tree | ce47b56839e645e38be9201157355ff3aac4103a /composer | |
parent | 3bb08252f25f0125ae53f9943b3e9898220ae735 (diff) | |
download | gsoc2013-evolution-06ae1bac42c987d3592883cceb55eaaa1be2514f.tar.gz gsoc2013-evolution-06ae1bac42c987d3592883cceb55eaaa1be2514f.tar.zst gsoc2013-evolution-06ae1bac42c987d3592883cceb55eaaa1be2514f.zip |
[ fixes #53238 ] make this accept NULL's (and return FALSE for them).
2004-01-26 Chris Toshok <toshok@ximian.com>
[ fixes #53238 ]
* util/eab-destination.c (nonempty): make this accept NULL's (and
return FALSE for them).
(eab_destination_is_empty): shorten some of the tests since
nonempty takes NULL now.
(eab_destination_get_address): only call
camel_internet_address_add if both name and email are non-empty.
otherwise call camel_address_decode and let camel try to deal with
it.
(eab_destination_xml_encode): call xmlEncodeEntitiesReentrant on
the strings before adding them to the xml, so people that enter
[<>&] won't end up with broken EABDestinations.
svn path=/trunk/; revision=24439
Diffstat (limited to 'composer')
0 files changed, 0 insertions, 0 deletions