aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-service.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-12-01 11:52:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-12-01 11:52:11 +0800
commitae4b9b15b54ca28bbb3707a24204277e91a4b9ee (patch)
treef375742936c7824c0c007f98c8f00e7b91bedbd2 /camel/camel-service.c
parent7f793b912853b340fd2e3d12c26d0452f55227c5 (diff)
downloadgsoc2013-evolution-ae4b9b15b54ca28bbb3707a24204277e91a4b9ee.tar
gsoc2013-evolution-ae4b9b15b54ca28bbb3707a24204277e91a4b9ee.tar.gz
gsoc2013-evolution-ae4b9b15b54ca28bbb3707a24204277e91a4b9ee.tar.bz2
gsoc2013-evolution-ae4b9b15b54ca28bbb3707a24204277e91a4b9ee.tar.lz
gsoc2013-evolution-ae4b9b15b54ca28bbb3707a24204277e91a4b9ee.tar.xz
gsoc2013-evolution-ae4b9b15b54ca28bbb3707a24204277e91a4b9ee.tar.zst
gsoc2013-evolution-ae4b9b15b54ca28bbb3707a24204277e91a4b9ee.zip
** See bug #69615.
2004-11-23 Not Zed <NotZed@Ximian.com> ** See bug #69615. * camel-smime-context.c (sm_get_passwd): removed. All callers that passed it now pass NULL. This is so we don't override the password function set by e-cert-db. Seems to work ok, I think. 2004-11-22 Not Zed <NotZed@Ximian.com> ** See bug #69109. * providers/smtp/camel-smtp-transport.c (smtp_helo): if we have ipv6 address and it is numeric, prefix it with "IPv6:" svn path=/trunk/; revision=28025
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r--camel/camel-service.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c
index 81bb9c85e6..b916d5c05a 100644
--- a/camel/camel-service.c
+++ b/camel/camel-service.c
@@ -969,15 +969,13 @@ cs_getnameinfo(void *data)
if (msg->host) {
g_free(msg->host);
- msg->host = NULL;
if (msg->result == 0 && h.h_name && h.h_name[0]) {
msg->host = g_strdup(h.h_name);
- } else if ((msg->flags & NI_NAMEREQD) == 0) {
+ } else {
unsigned char *in = (unsigned char *)&sin->sin_addr;
/* sin_addr is always network order which is big-endian */
msg->host = g_strdup_printf("%u.%u.%u.%u", in[0], in[1], in[2], in[3]);
- msg->result = 0;
}
}