Oops, this was converting foo@[blah] to foo@[ blah ], fixed.
2002-01-31 Not Zed <NotZed@Ximian.com> * camel-mime-utils.c (header_decode_domain): Oops, this was converting foo@[blah] to foo@[ blah ], fixed. svn path=/trunk/; revision=15535
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-31 Not Zed <NotZed@Ximian.com>
|
||||||
|
|
||||||
|
* camel-mime-utils.c (header_decode_domain): Oops, this was
|
||||||
|
converting foo@[blah] to foo@[ blah ], fixed.
|
||||||
|
|
||||||
2002-01-30 Jeffrey Stedfast <fejj@ximian.com>
|
2002-01-30 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* providers/pop3/camel-pop3-provider.c: Use "pop" instead of
|
* providers/pop3/camel-pop3-provider.c: Use "pop" instead of
|
||||||
|
@ -2238,7 +2238,7 @@ header_decode_domain(const char **in)
|
|||||||
header_decode_lwsp(&inptr);
|
header_decode_lwsp(&inptr);
|
||||||
while (go) {
|
while (go) {
|
||||||
if (*inptr == '[') { /* domain literal */
|
if (*inptr == '[') { /* domain literal */
|
||||||
domain = g_string_append(domain, "[ ");
|
domain = g_string_append_c(domain, '[');
|
||||||
inptr++;
|
inptr++;
|
||||||
header_decode_lwsp(&inptr);
|
header_decode_lwsp(&inptr);
|
||||||
start = inptr;
|
start = inptr;
|
||||||
@ -2247,7 +2247,7 @@ header_decode_domain(const char **in)
|
|||||||
inptr++;
|
inptr++;
|
||||||
}
|
}
|
||||||
if (*inptr == ']') {
|
if (*inptr == ']') {
|
||||||
domain = g_string_append(domain, " ]");
|
domain = g_string_append_c(domain, ']');
|
||||||
inptr++;
|
inptr++;
|
||||||
} else {
|
} else {
|
||||||
w(g_warning("closing ']' not found in domain: %s", *in));
|
w(g_warning("closing ']' not found in domain: %s", *in));
|
||||||
|
Reference in New Issue
Block a user