maildir-util.c revision a7f83bf37bc4a6f39fd22b09489efb081895ab44
525421c923d798cdea9e5691bcee1e5e5530491dStéphane Graber/* Copyright (C) 2004 Timo Sirainen */
9be53773792fc9e8bd173edc3b7ac7e144875387Serge Hallynstatic int maildir_file_do_try(struct maildir_mailbox *mbox, uint32_t uid,
72863294f63e27ac263a774aab37aace20dc1bc5Dwight Engen fname = maildir_uidlist_lookup(mbox->uidlist, uid, &flags);
5a21336025eec5b4228994d0efece129257411bdChristian Brauner if ((flags & MAILDIR_UIDLIST_REC_FLAG_NEW_DIR) != 0) {
72d0e1cb2facaa4b8ba2f15e311d6bb9491badb7Stéphane Graber /* probably in new/ dir */
2a59a68183e55e38beedb6442938e31eb7d4749cSerge Hallyn path = t_strconcat(mbox->path, "/new/", fname, NULL);