** See bug #47821.
authorNot Zed <NotZed@Ximian.com>
Fri, 24 Sep 2004 02:50:45 +0000 (02:50 +0000)
committerMichael Zucci <zucchi@src.gnome.org>
Fri, 24 Sep 2004 02:50:45 +0000 (02:50 +0000)
commit7f1c9f00617744edff64133869b465b92e15aa57
tree24e84f6e1c01d650f5af2333c3db59c0267b88cf
parent4a18fcc8e896af3b39a552e59a8397735b5c86c7
** See bug #47821.

2004-09-13  Not Zed  <NotZed@Ximian.com>

        ** See bug #47821.

        * camel-service.c: removed the old hostent based hostname interfaces.

        * camel-sasl-kerberos4.c (krb4_challenge): new hostname interfaces.

        * camel-sasl-gssapi.c (gssapi_challenge): new hostname interfaces.

        * camel-sasl-digest-md5.c (digest_md5_challenge): use new hostname
        interfaces.
        (generate_response): just take hostname directly, not hostent.

        * camel-mime-utils.c (camel_header_msgid_generate): use new
        hostname interfaces.

        * providers/smtp/camel-smtp-transport.c (connect_to_server): fixed
        to use new addrinfo apis.

        * providers/pop3/camel-pop3-store.c (connect_to_server): fixed to
        use new addrinfo apis.

        * camel-tcp-stream-ssl.c (stream_connect): try all addresses
        supplied.

        * camel-tcp-stream.c (camel_tcp_stream_get_remote_address)
        (camel_tcp_stream_get_local_address): return a sockaddr now, and
        also the address length.  Fixed all implementations and callers.
        (camel_tcp_stream_connect): use addrinfo rather than hostent for
        host AND port info.  Fixed all implementations and callers.
17 files changed:
camel/ChangeLog
camel/camel-http-stream.c
camel/camel-mime-utils.c
camel/camel-sasl-digest-md5.c
camel/camel-sasl-gssapi.c
camel/camel-sasl-kerberos4.c
camel/camel-service.c
camel/camel-service.h
camel/camel-tcp-stream-raw.c
camel/camel-tcp-stream-ssl.c
camel/camel-tcp-stream.c
camel/camel-tcp-stream.h
camel/providers/imap/camel-imap-store.c
camel/providers/nntp/camel-nntp-store.c
camel/providers/pop3/camel-pop3-store.c
camel/providers/smtp/camel-smtp-transport.c
camel/providers/smtp/camel-smtp-transport.h