aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-05-23 11:04:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-05-23 11:04:19 +0800
commit92f2cbe161f50783b730a3565a9258639b8e22a6 (patch)
tree2f382cb801204655ced8ea68ec2093eaf0c0e4a5 /camel
parentce9f9a3487816a4c55ce6060368b846219630852 (diff)
downloadgsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar
gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar.gz
gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar.bz2
gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar.lz
gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar.xz
gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.tar.zst
gsoc2013-evolution-92f2cbe161f50783b730a3565a9258639b8e22a6.zip
stuff
svn path=/trunk/; revision=3168
Diffstat (limited to 'camel')
-rw-r--r--camel/Makefile.am1
-rw-r--r--camel/camel-mime-filter-smtp.c6
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;