Kill off a long-hated Camel kludge: "empty" URLs and
authorDan Winship <danw@src.gnome.org>
Tue, 9 Jan 2001 19:27:27 +0000 (19:27 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 9 Jan 2001 19:27:27 +0000 (19:27 +0000)
commit60839c07c12d236b88d0372ff7c449bdfd269f9d
tree3bdd132b0883c48dcd085ed0c095bcd8a634d1c2
parent2af6e95d3bfd888c01914e9af8ae53cb915a4fee
Kill off a long-hated Camel kludge: "empty" URLs and
query_auth_types_generic.

* camel-url.c: Remove "empty" from CamelURL.
(camel_url_new): No longer set it.
(camel_url_to_string): Treat "" as equivalent to NULL for
authmech. (Unrelated change, but it simplifies some stuff with the
new config dialog.)

* camel-service.c (camel_service_new): Remove url->empty check: if
the URL isn't valid, we don't create the service.
(camel_service_query_auth_types): No longer need to switch between
generic and connected variants.

* providers/smtp/camel-smtp-transport.c (query_auth_types):
* providers/pop3/camel-pop3-store.c (query_auth_types):
* providers/nntp/camel-nntp-store.c (nntp_store_query_auth_types):
* providers/imap/camel-imap-store.c (query_auth_types):
* camel-remote-store.c (remote_query_auth_types): Remove generic
version, rename connected version.
camel/ChangeLog
camel/camel-remote-store.c
camel/camel-service.c
camel/camel-service.h
camel/camel-url.c
camel/camel-url.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