projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
muttlib.c
diff --git
a/muttlib.c
b/muttlib.c
index
6b9258f
..
fbd2243
100644
(file)
--- a/
muttlib.c
+++ b/
muttlib.c
@@
-361,8
+361,8
@@
char *_mutt_expand_path (char *s, size_t slen, int rx)
#ifdef USE_IMAP
/* if folder = {host} or imap[s]://host/: don't append slash */
if (mx_is_imap (NONULL (Maildir)) &&
#ifdef USE_IMAP
/* if folder = {host} or imap[s]://host/: don't append slash */
if (mx_is_imap (NONULL (Maildir)) &&
- (Maildir[strlen (Maildir) - 1] == '}' ||
- Maildir[strlen (Maildir) - 1] == '/'))
+ (Maildir[
mutt_
strlen (Maildir) - 1] == '}' ||
+ Maildir[
mutt_
strlen (Maildir) - 1] == '/'))
strfcpy (p, NONULL (Maildir), sizeof (p));
else
#endif
strfcpy (p, NONULL (Maildir), sizeof (p));
else
#endif
@@
-494,7
+494,7
@@
char *mutt_gecos_name (char *dest, size_t destlen, struct passwd *pw)
else
strfcpy (dest, pw->pw_gecos, destlen);
else
strfcpy (dest, pw->pw_gecos, destlen);
- pwnl = strlen (pw->pw_name);
+ pwnl =
mutt_
strlen (pw->pw_name);
for (idx = 0; dest[idx]; idx++) {
if (dest[idx] == '&') {
for (idx = 0; dest[idx]; idx++) {
if (dest[idx] == '&') {
@@
-1235,7
+1235,7
@@
void state_prefix_putc (char c, STATE * s)
if (s->flags & M_PENDINGPREFIX) {
int i;
if (s->flags & M_PENDINGPREFIX) {
int i;
- i = strlen (Quotebuf);
+ i =
mutt_
strlen (Quotebuf);
Quotebuf[i++] = c;
Quotebuf[i] = '\0';
if (i == sizeof (Quotebuf) - 1 || c == '\n') {
Quotebuf[i++] = c;
Quotebuf[i] = '\0';
if (i == sizeof (Quotebuf) - 1 || c == '\n') {