projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cosmetics
[apps/madmutt.git]
/
imap
/
browse.c
diff --git
a/imap/browse.c
b/imap/browse.c
index
96eb8b9
..
a3807b6
100644
(file)
--- a/
imap/browse.c
+++ b/
imap/browse.c
@@
-10,18
+10,10
@@
/* Mutt browser support routines */
/* Mutt browser support routines */
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <stdlib.h>
-#include <ctype.h>
-
#include <lib-lib/lib-lib.h>
#include <lib-ui/enter.h>
#include <lib-lib/lib-lib.h>
#include <lib-ui/enter.h>
-
#include "mutt.h"
#include "imap_private.h"
#include "mutt.h"
#include "imap_private.h"
@@
-120,8
+112,7
@@
int imap_browse (char *path, struct browser_state *state)
mbox[n] = '\0';
}
}
mbox[n] = '\0';
}
}
- }
- while (ascii_strncmp (idata->cmd.buf, idata->cmd.seq, SEQLEN));
+ } while (m_strncmp(idata->cmd.buf, idata->cmd.seq, SEQLEN));
}
/* if we're descending a folder, mark it as current in browser_state */
}
/* if we're descending a folder, mark it as current in browser_state */
@@
-354,8
+345,7
@@
static int browse_add_list_result (IMAP_DATA * idata, const char *cmd,
imap_add_folder (idata->delim, name, noselect, noinferiors, state,
isparent);
}
imap_add_folder (idata->delim, name, noselect, noinferiors, state,
isparent);
}
- }
- while ((ascii_strncmp (idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0));
+ } while ((m_strncmp(idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0));
p_delete(&mx.mbox);
return 0;
p_delete(&mx.mbox);
return 0;
@@
-551,8
+541,7
@@
static int browse_verify_namespace (IMAP_DATA * idata,
&nsi->noinferiors, &delim) != 0)
return -1;
nsi->listable |= (name != NULL);
&nsi->noinferiors, &delim) != 0)
return -1;
nsi->listable |= (name != NULL);
- }
- while ((ascii_strncmp (idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0));
+ } while ((m_strncmp(idata->cmd.buf, idata->cmd.seq, SEQLEN) != 0));
}
return 0;
}
return 0;