2 * Copyright (c) 1989 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
8 RCSID("$Id: pop_rset.c,v 1.9 1998/04/23 17:38:08 joda Exp $");
11 * rset: Unflag all messages flagged for deletion in a POP maildrop
17 MsgInfoList * mp; /* Pointer to the message info list */
20 /* Unmark all the messages */
21 for (i = p->msg_count, mp = p->mlp; i > 0; i--, mp++)
22 mp->flags &= ~DEL_FLAG;
24 /* Reset the messages-deleted and bytes-deleted counters */
28 /* Reset the last-message-access flag */
31 return (pop_msg(p,POP_SUCCESS,"Maildrop has %u messages (%ld octets)",
32 p->msg_count, p->drop_size));