diff options
author | Kjartan Maraas <kmaraas@src.gnome.org> | 2001-03-30 04:31:40 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2001-03-30 04:31:40 +0800 |
commit | fe962a2055234adf407999f0557ae25441ca5c35 (patch) | |
tree | ce9254cb08e91cf6528cde689139bd5e4e535ba7 /camel/providers/smtp | |
parent | 8a0c0a680252b389ad3b3a58090690925b9f99b1 (diff) | |
download | gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar.gz gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar.bz2 gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar.lz gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar.xz gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.tar.zst gsoc2013-evolution-fe962a2055234adf407999f0557ae25441ca5c35.zip |
Big header cleanups and nntp compile fix
svn path=/trunk/; revision=9024
Diffstat (limited to 'camel/providers/smtp')
-rw-r--r-- | camel/providers/smtp/camel-smtp-provider.c | 5 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/camel/providers/smtp/camel-smtp-provider.c b/camel/providers/smtp/camel-smtp-provider.c index 96cba49594..b84a6a0d83 100644 --- a/camel/providers/smtp/camel-smtp-provider.c +++ b/camel/providers/smtp/camel-smtp-provider.c @@ -23,7 +23,10 @@ * USA */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "camel-smtp-transport.h" #include "camel-provider.h" #include "camel-session.h" diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 8b49aaa2f0..a6572d4bdc 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -22,7 +22,9 @@ * USA */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <sys/param.h> #include <sys/types.h> @@ -331,8 +333,8 @@ smtp_connect (CamelService *service, CamelException *ex) if (!transport->is_esmtp || !g_hash_table_lookup (transport->authtypes, service->url->authmech)) { camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE, - "SMTP server %s does not support requested " - "authentication type %s", service->url->host, + _("SMTP server %s does not support requested " + "authentication type %s"), service->url->host, service->url->authmech); camel_service_disconnect (service, TRUE, NULL); return FALSE; @@ -341,7 +343,7 @@ smtp_connect (CamelService *service, CamelException *ex) authtype = camel_sasl_authtype (service->url->authmech); if (!authtype) { camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_CANT_AUTHENTICATE, - "No support for authentication type %s", + _("No support for authentication type %s"), service->url->authmech); camel_service_disconnect (service, TRUE, NULL); return FALSE; |