* src/send_message.c
enforce a check for domain in account prefs (a sending
error could be faced if domain was checked but no value set),
thanks to Colin.
+2006-04-14 [wwp] 2.1.0cvs46
+
+ * src/send_message.c
+ enforce a check for domain in account prefs (a sending
+ error could be faced if domain was checked but no value set),
+ thanks to Colin.
+
2006-04-14 [colin] 2.1.0cvs45
* src/codeconv.c
( cvs diff -u -r 1.23.2.16 -r 1.23.2.17 src/crash.c; cvs diff -u -r 1.4.2.31 -r 1.4.2.32 src/gtk/about.c; cvs diff -u -r 1.1.2.18 -r 1.1.2.19 src/gtk/authors.h; ) > 2.1.0cvs43.patchset
( cvs diff -u -r 1.382.2.263 -r 1.382.2.264 src/compose.c; ) > 2.1.0cvs44.patchset
( cvs diff -u -r 1.65.2.47 -r 1.65.2.48 src/codeconv.c; ) > 2.1.0cvs45.patchset
+( cvs diff -u -r 1.17.2.26 -r 1.17.2.27 src/send_message.c; ) > 2.1.0cvs46.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=45
+EXTRA_VERSION=46
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
session = smtp_session_new();
smtp_session = SMTP_SESSION(session);
- smtp_session->hostname =
- ac_prefs->set_domain ? g_strdup(ac_prefs->domain) : NULL;
+ if (ac_prefs->set_domain && ac_prefs->domain && strlen(ac_prefs->domain)) {
+ smtp_session->hostname = g_strdup(ac_prefs->domain);
+ } else {
+ smtp_session->hostname = NULL;
+ }
if (ac_prefs->use_smtp_auth) {
smtp_session->forced_auth_type = ac_prefs->smtp_auth_type;