diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-05-23 11:04:19 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-05-23 11:04:19 +0800 |
commit | 92f2cbe161f50783b730a3565a9258639b8e22a6 (patch) | |
tree | 2f382cb801204655ced8ea68ec2093eaf0c0e4a5 /camel | |
parent | ce9f9a3487816a4c55ce6060368b846219630852 (diff) | |
download | gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar.gz gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar.zst gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.zip |
stuff
svn path=/trunk/; revision=3168
Diffstat (limited to 'camel')
-rw-r--r-- | camel/Makefile.am | 1 | ||||
-rw-r--r-- | camel/camel-mime-filter-smtp.c | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/camel/Makefile.am b/camel/Makefile.am index a1b672ab13..80523b7ea4 100644 --- a/camel/Makefile.am +++ b/camel/Makefile.am @@ -54,6 +54,7 @@ libcamel_la_SOURCES = \ camel-mime-filter-charset.c \ camel-mime-filter-index.c \ camel-mime-filter-from.c \ + camel-mime-filter-smtp.c \ camel-stream-filter.c \ camel-address.c \ camel-internet-address.c diff --git a/camel/camel-mime-filter-smtp.c b/camel/camel-mime-filter-smtp.c index fe167b9f21..5bfeea5ff4 100644 --- a/camel/camel-mime-filter-smtp.c +++ b/camel/camel-mime-filter-smtp.c @@ -121,14 +121,14 @@ filter(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, s midline = TRUE; if (left < 5) { /* MUST check for upper and lower case F, since our "From " has no case guarentee */ - if (inptr[0] == 'F' || inptr == 'f' || inptr == '.') { + if (*inptr == 'F' || *inptr == '.') { camel_mime_filter_backup(mf, inptr, left); midline = FALSE; inend = inptr; break; } } else { - if (!g_strncasecmp(inptr, "From ", 5)) { + if (!strncmp(inptr, "From ", 5)) { fromcount++; /* yes, we do alloc them on the stack ... at most we're going to get len / 7 of them anyway */ @@ -179,7 +179,7 @@ filter(CamelMimeFilter *mf, char *in, size_t len, size_t prespace, char **out, s if (node->type == FROM_NODE) { *outptr++ = '>'; } else { - *outptr++ = '.' + *outptr++ = '.'; } } inptr = node->pointer; |