diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 7fc82ec4ef..e9431b7ca0 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,7 @@ +2000-11-10 Radek Doulik <rodo@helixcode.com> + + * camel-mime-utils.c (header_msgid_generate): fix ids ending with '.' + 2000-11-09 Dan Winship <danw@helixcode.com> * providers/imap/camel-imap-auth.c (imap_try_kerberos_v4_auth): diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 18c005e3fb..0bc0fa24dc 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -3089,7 +3089,8 @@ header_msgid_generate (void) gethostname (host, sizeof (host)); getdomainname (domain, sizeof (domain)); - return g_strdup_printf ("%d.%d.%d.camel@%s.%s", (gint) time (NULL), getpid (), count++, host, domain); + return g_strdup_printf ("%d.%d.%d.camel@%s.%s", (gint) time (NULL), getpid (), count++, + (host && *host) ? host : "unknown.host", (domain && *domain) ? domain : "unknown.domain"); } gchar * |