From 92f2cbe161f50783b730a3565a9258639b8e22a6 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 23 May 2000 03:04:19 +0000 Subject: stuff svn path=/trunk/; revision=3168 --- camel/Makefile.am | 1 + camel/camel-mime-filter-smtp.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'camel') 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; -- cgit v1.2.3