projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reorganize code so that the rfc822parse.c does not needs lib-crypt nor
[apps/madmutt.git]
/
imap
/
util.c
diff --git
a/imap/util.c
b/imap/util.c
index
5ca2fad
..
f869a98
100644
(file)
--- a/
imap/util.c
+++ b/
imap/util.c
@@
-219,7
+219,7
@@
char *imap_fix_path (IMAP_DATA * idata, char *mailbox, char *path,
int x = 0;
if (!mailbox || !*mailbox) {
int x = 0;
if (!mailbox || !*mailbox) {
-
strfcpy (path, "INBOX", plen
);
+
m_strcpy(path, plen, "INBOX"
);
return path;
}
return path;
}
@@
-292,8
+292,7
@@
char *imap_next_word (char *s)
s++;
}
s++;
}
- SKIPWS (s);
- return s;
+ return vskipspaces(s);
}
/* imap_parse_date: date is of the form: DD-MMM-YYYY HH:MM:SS +ZZzz */
}
/* imap_parse_date: date is of the form: DD-MMM-YYYY HH:MM:SS +ZZzz */