projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dbc0e4
)
Fix compilation error
author
Julien Danjou
<julien@danjou.info>
Fri, 1 Dec 2006 15:16:51 +0000
(16:16 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Fri, 1 Dec 2006 15:23:04 +0000
(16:23 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
mutt_libesmtp.c
patch
|
blob
|
history
diff --git
a/mutt_libesmtp.c
b/mutt_libesmtp.c
index
82e1a5f
..
7142fbd
100644
(file)
--- a/
mutt_libesmtp.c
+++ b/
mutt_libesmtp.c
@@
-158,7
+158,7
@@
static const char *_mutt_libesmtp_messagefp_cb (void **buf, int *len,
char *p = strchr (*buf, '\0');
if (p[-1] == '\n' && p[-2] != '\r') {
- m_strcpy(p - 1, *buf + BUFLEN - p + 1, "\r\n");
+ m_strcpy(p - 1,
(char *)
*buf + BUFLEN - p + 1, "\r\n");
p++;
}
octets = p - (char *) *buf;