projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move some decoding functions right into the str module, with a bit more
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
c827e7e
..
dfed65c
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-265,8
+265,7
@@
static int edit_envelope (ENVELOPE * en, int flags)
buf[0] = 0;
for (; uh; uh = uh->next) {
if (ascii_strncasecmp ("subject:", uh->data, 8) == 0) {
buf[0] = 0;
for (; uh; uh = uh->next) {
if (ascii_strncasecmp ("subject:", uh->data, 8) == 0) {
- p = uh->data + 8;
- SKIPWS (p);
+ p = vskipspaces(uh->data + 8);
m_strcpy(buf, sizeof(buf), p);
}
}
m_strcpy(buf, sizeof(buf), p);
}
}
@@
-303,10
+302,9
@@
static int edit_envelope (ENVELOPE * en, int flags)
}
#ifdef USE_NNTP
}
#ifdef USE_NNTP
-char *nntp_get_header
(const char *s)
+char *nntp_get_header(const char *s)
{
{
- SKIPWS (s);
- return m_strdup(s);
+ return m_strdup(skipspaces(s));
}
#endif
}
#endif