struct maildir *md; /* list of messages in the mailbox */
struct maildir **last, *p;
int i;
struct maildir *md; /* list of messages in the mailbox */
struct maildir **last, *p;
int i;
* of each message we scanned. This is used in the loop over the
* existing messages below to do some correlation.
*/
* of each message we scanned. This is used in the loop over the
* existing messages below to do some correlation.
*/
for (p = md; p; p = p->next) {
maildir_canon_filename (buf, p->h->path, sizeof (buf));
for (p = md; p; p = p->next) {
maildir_canon_filename (buf, p->h->path, sizeof (buf));
for (p = md; p; p = p->next)
hash_insert (fnames, p->h->path, p);
for (p = md; p; p = p->next)
hash_insert (fnames, p->h->path, p);