aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-06-22 01:19:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-06-22 01:19:00 +0800
commit1b2f9e9c120f8bf75fad41e669110ce73c54d304 (patch)
treea1b88fd11f9278fdead34dcf03d3f67caf01401a /camel
parent299a48043141eaef48d0ac51858314d42787e721 (diff)
downloadgsoc2013-evolution-1b2f9e9c120f8bf75fad41e669110ce73c54d304.tar.gz
gsoc2013-evolution-1b2f9e9c120f8bf75fad41e669110ce73c54d304.tar.zst
gsoc2013-evolution-1b2f9e9c120f8bf75fad41e669110ce73c54d304.zip
Use camel_address_length() rather than casting and accessing data members.
2001-06-21 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c (smtp_send): Use camel_address_length() rather than casting and accessing data members. svn path=/trunk/; revision=10365
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 285727f5fe..d3e4ad5f20 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-21 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/smtp/camel-smtp-transport.c (smtp_send): Use
+ camel_address_length() rather than casting and accessing data
+ members.
+
2001-06-20 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_raw_check_mailing_list): If the first
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 0d1ef1e95e..9cd5d4ba6a 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -617,7 +617,7 @@ smtp_send (CamelTransport *transport, CamelMedium *message, CamelException *ex)
bcc = camel_mime_message_get_recipients (CAMEL_MIME_MESSAGE (message), CAMEL_RECIPIENT_TYPE_BCC);
/* get all of the To addresses into our recipient list */
- len = CAMEL_ADDRESS (to)->addresses->len;
+ len = camel_address_length (CAMEL_ADDRESS (to));
for (index = 0; index < len; index++) {
const char *addr;
@@ -626,7 +626,7 @@ smtp_send (CamelTransport *transport, CamelMedium *message, CamelException *ex)
}
/* get all of the Cc addresses into our recipient list */
- len = CAMEL_ADDRESS (cc)->addresses->len;
+ len = camel_address_length (CAMEL_ADDRESS (cc));
for (index = 0; index < len; index++) {
const char *addr;
@@ -635,7 +635,7 @@ smtp_send (CamelTransport *transport, CamelMedium *message, CamelException *ex)
}
/* get all of the Bcc addresses into our recipient list */
- len = CAMEL_ADDRESS (bcc)->addresses->len;
+ len = camel_address_length (CAMEL_ADDRESS (bcc));
for (index = 0; index < len; index++) {
const char *addr;
ass='deletions'>-3/+3 * - Update to 0.10.3miwi2011-03-252-3/+3 * - Update to 0.10.3miwi2011-03-252-4/+3 * - Update to 0.10.3miwi2011-03-252-6/+4 * - update to 0.1664bapt2011-03-252-3/+3 * - Update libdbusmenu-qt to 0.8.0.avilla2011-03-254-24/+11 * - Update SIP to 4.12.1.avilla2011-03-252-3/+3 * - Update Qt to 4.7.2.avilla2011-03-254-60/+0 * - Update libgcal to 0.9.6.avilla2011-03-253-5/+5 * - Update to 0.15.1wen2011-03-252-3/+3 * - Update to 3.2.1wen2011-03-253-3/+35 * - Update to 1.03wen2011-03-242-3/+3 * - Add LICENSE knob(s)mm2011-03-233-0/+7 * update to 0.1663bapt2011-03-222-3/+3 * update to 0.23bapt2011-03-222-3/+7 * - Updated to 2.8.1glarkin2011-03-222-6/+5 * Kill Oracle Berkeley DB 5.0 port.mandree2011-03-226-211/+0 * Grab maintainership and deprecate.mandree2011-03-221-2/+3 * Move CPPFLAGS out of CONFIGURE_ENV.mandree2011-03-224-18/+30 * Move CPPFLAGS out of CONFIGURE_ENV.mandree2011-03-222-4/+13 * Port cleanup:mandree2011-03-224-28/+32 * Update to 1.33lth2011-03-212-4/+3 * - Get Rid MD5 supportmiwi2011-03-20505-553/+0 * - Update to 3.3.10culot2011-03-202-5/+9 * This package provides a Python fast and full featured interfacedhn2011-03-205-0/+99 * - Add option WITH_NOSE (default off) for unit testsnivit2011-03-192-2/+12 * Bump PORTREVISION for ports linking to default libmysqlclient.ale2011-03-1935-19/+35 * Update MySQL to 5.5.10 release (shared library bumped).ale2011-03-196-10/+10 * Update to 5.1.56 release.ale2011-03-192-3/+3 * This is the Python interface to the Redis key-value store.clsung2011-03-185-0/+41 * This module provides methods for working with nested set trees. Thekuriyama2011-03-185-0/+42 * This module provides methods for working with adjacency lists. Thekuriyama2011-03-185-0/+48 * - update to 0.07bapt2011-03-182-4/+6 * - update to 1.616bapt2011-03-183-4/+8 * - update to 08.04.0200 [1]bapt2011-03-185-60/+7 * - Mark ports that have been broken for six month or more, or never compiled onpav2011-03-173-4/+8 * Upgrade to 0.48.vanilla2011-03-172-3/+3 * Deprecate unmaintained ports from databases where upstream disapear and/orbapt2011-03-171-0/+3 * update WWW and MASTER_SITESbapt2011-03-173-4/+2 * - Update to 0.9.302miwi2011-03-162-3/+3 * - Update to 5.1.2wen2011-03-164-25/+25 * Update to 0.18az2011-03-152-4/+5 * - Update to 0.9.302miwi2011-03-154-4/+7 * - BROKEN fails to buildmiwi2011-03-141-0/+2 * Mark BROKEN: does not builderwin2011-03-141-0/+2 * - Update to 0.88.19wen2011-03-143-51/+13 * - Update to 1.21wen2011-03-142-3/+3 * - Update to 0.1658wen2011-03-122-3/+3 * - Update to 1.05miwi2011-03-102-17/+5 * - Fix the build with mysql odbc and sqlitewen2011-03-092-1/+12 * - Fix build with postgresqlwen2011-03-093-6/+8 * Fix typo.ale2011-03-081-1/+1 * - Update to 0.1654wen2011-03-082-4/+4 * - Fix build with python-2.7wen2011-03-081-3/+11 * - dbi.0 => dbi.1clsung2011-03-071-2/+2 * - Update to 0.8.4clsung2011-03-074-11/+9 * - Update to 0.07010az2011-03-072-5/+4 * - Update to 1.3.3dhn2011-03-073-5/+14 * - Fix build with python-2.7wen2011-03-073-2/+2 * Update from 2.2.1 to 2.2.2.osa2011-03-052-4/+3 * - Update to 2.4miwi2011-03-043-6/+9 * - Update to 3.7.5miwi2011-03-042-10/+35 * Remove repocopy abandoned in the wake of ports/151093.linimon2011-03-0413-594/+0 * - Update to 3.0.5wen2011-03-042-4/+4 * - Update to 3.0.5wen2011-03-042-4/+4 * Modify port to deal with supported python versions appropriately.jpaetzel2011-03-042-261/+262 * - Try this on pointyhatpav2011-03-041-2/+0 * Update to 4.2.5.kwm2011-03-036-22/+66 * Add a more reliable mirrors for fc4 and f10 linux emulation ports.ehaupt2011-03-031-0/+1 * - Update to 0.04miwi2011-03-032-7/+4 * - Update to 2.1.0mm2011-03-022-4/+4 * - Update to 2.0.9clsung2011-03-022-3/+3 * Update patch associated with REPCACHED option. Dosahil2011-03-022-3/+3 * - Update to 3.2.0wen2011-03-013-4/+8 * - update jasperserver to version 4.0.0ohauer2011-03-0110-993/+1546 * Update to version 1.59.demon2011-02-282-4/+3 * Deprecate all non-default Fedora based linux_base respectively linux-fx-*netchild2011-02-281-0/+3 * - update to 0.1652bapt2011-02-283-4/+10 * * Remove Digest::MD5 dep. (already coremodule) andaz2011-02-281-2/+1 * Upgrade to 0.47.vanilla2011-02-282-3/+3 * - Update to 0.07009miwi2011-02-273-17/+37 * - Chase devel/google-perftools shlib bumpmiwi2011-02-271-1/+2 * Teng is very simple DBI wrapper and simple O/R Mapper. It aims to bekuriyama2011-02-275-0/+75 * Update to 2.2skv2011-02-272-6/+5 * SQL::Maker is yet another SQL builder class. It is based onkuriyama2011-02-275-0/+56 * - Mark as IGNORE, master site has disappearedgahr2011-02-271-0/+2 * - Update to 4.018skv2011-02-272-4/+6 * - Update to 1.5.0b3miwi2011-02-262-3/+3 * - Upgrade to 1.4.47.kuriyama2011-02-252-5/+4 * - Upgrade to 0.22.kuriyama2011-02-252-4/+5 * - Update to 0.1651wen2011-02-252-3/+3 * JDBM is a transactional persistence engine for Java. It aims to be for Javaale2011-02-254-0/+57 * - Remove PYTHON_REL < 250, since USE_PYTHON 2.5+miwi2011-02-252-8/+0 * Remove necessary CONFLICTS.osa2011-02-252-16/+20 * Remove legacy redis 2.0.4.osa2011-02-259-257/+0 * - Upgrade to 1.001011.kuriyama2011-02-252-5/+5 * More cleaning removed port redis1.osa2011-02-254-162/+0 * - Upgrade to 0.07007 (0.07008 was out, but not yet mirrored widely).kuriyama2011-02-252-4/+5 * - Upgrade to 0.0740.kuriyama2011-02-253-4/+6 * - Upgrade to 1.08.kuriyama2011-02-252-3/+4 * Chase after net/openldap24-server update.delphij2011-02-254-2/+4 * - Upgrade to 3.0.3 [1].kuriyama2011-02-254-16/+12 * - Fix PORTREVISIONmiwi2011-02-251-1/+1 * pecl-tokyo_tyrant is a PHP extension provides object oriented APIwen2011-02-254-0/+34 * - Move over to py25+ or abovemiwi2011-02-2523-30/+26 * Update to latest stable version 2.2.1.osa2011-02-252-5/+4 * Update CONFLICTS after removing redis-1.*.osa2011-02-251-2/+3 * Remove deprecated and unsupported databases/redis1.osa2011-02-255-93/+0 * - Update to 0.11miwi2011-02-232-4/+4 * - Update to 1.903(0)clsung2011-02-232-5/+4 * - Update to 0.1648wen2011-02-223-13/+17 * - Update to 0.9.2.5wen2011-02-222-3/+3 * - Mark BROKEN: fails to patchpav2011-02-221-0/+2 * - Update to 2.0.8clsung2011-02-212-3/+3 * - Update to 1.1.9wen2011-02-212-3/+3 * This plugin provides a SQL::Abstract search method for Class::DBI. It ismiwi2011-02-195-0/+46 * - Update to 0.5.5miwi2011-02-192-4/+4 * - Updated to 2.8glarkin2011-02-182-3/+3 * - Update to 0.10.1wen2011-02-172-3/+3 * Upgrade from 0.44 to 0.46.vanilla2011-02-162-4/+4 * - make fetchableclsung2011-02-161-0/+1 * - Update to 2.5.0 B3miwi2011-02-1511-21/+17 * - Update to 0.66clsung2011-02-152-3/+4 * - Bump PORTREVISION here since plist changedwen2011-02-141-0/+1 * - Fix the plistwen2011-02-141-1/+1 * Connect to build redis2.osa2011-02-131-0/+1 * Update from 2.0.4 (after repocopy to databases/redis2) to latestosa2011-02-136-13/+85 * Add CONFLICTS with upcoming redis-2.2.osa2011-02-131-1/+2 * DBIx::Class interface for Dancer applicationsmiwi2011-02-135-0/+40 * - Update to 3.10.2wen2011-02-133-6/+3 * - Update to 3.80miwi2011-02-132-4/+3 * - Update to 1.1miwi2011-02-133-21/+18 * - Update 0.6.6lwhsu2011-02-134-8/+6 * Upgrade to 9.0.12.thierry2011-02-122-3/+3 * - Update to 0.42culot2011-02-122-3/+3 * Fix WWW in pkg-descr to http://search.cpan.org/dist/<MODULE> for unification.az2011-02-122-2/+2 * - Update to 0.08127miwi2011-02-122-6/+6 * Update to 2.11.11.3, a security release.delphij2011-02-122-3/+3 * Update to 3.3.9.2, a security release to fix the following:dougb2011-02-122-3/+3 * - Update to 1.902sunpoet2011-02-113-8/+16 * - Add databases/rubygem-dm-postgres-adapter, a PostgreSQL Adapter for DataMap...stas2011-02-114-0/+29 * - Update to 3.3.9.1miwi2011-02-092-3/+3 * - Update 2.11.11.2miwi2011-02-092-3/+3 * - Update to 3.65clsung2011-02-092-4/+3 * Update to 5.5.9 release [1]ale2011-02-0916-96/+38 * Update to 5.1.55 release.ale2011-02-082-7/+7 * Update to 5.0.92:ale2011-02-084-46/+15 * Fix build with gcc 4.2.ale2011-02-081-6/+7 * Add support for BDB 5.1.ale2011-02-081-3/+16 * Update to new BDB 5.1.25 patch release.mandree2011-02-074-8/+6 * Remove expired ports:rene2011-02-056-73/+0 * - Update to 1.4.5sylvio2011-02-042-3/+3 * Credis is a client library in plain C for communicating with Redis serversskreuzer2011-02-037-0/+95 * Update to 0.9.287arved2011-02-023-3/+4