projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2005-02-15 [colin] 1.0.1cvs7.1
[claws.git]
/
src
/
compose.c
diff --git
a/src/compose.c
b/src/compose.c
index 70b5e108b952e2eb8d491b7691d7513382962e2b..07a9a15a87352f1feac663e08c80a873fcd24aa9 100644
(file)
--- a/
src/compose.c
+++ b/
src/compose.c
@@
-3644,7
+3644,7
@@
static gint compose_write_to_file(Compose *compose, FILE *fp, gint action)
g_free(chars);
if (encoding == ENC_8BIT || encoding == ENC_7BIT) {
- if (!strncmp(buf, "From ", s
trlen("From ")
) ||
+ if (!strncmp(buf, "From ", s
izeof("From ")-1
) ||
strstr(buf, "\nFrom ") != NULL) {
encoding = ENC_QUOTED_PRINTABLE;
}