2 __RCSID("$Heimdal: pop_xover.c 4794 1998-04-23 17:41:49Z joda $"
9 MsgInfoList
* mp
; /* Pointer to message info list */
12 pop_msg(p
,POP_SUCCESS
,
13 "%d messages (%ld octets)",
14 p
->msg_count
-p
->msgs_deleted
,
15 p
->drop_size
-p
->bytes_deleted
);
17 /* Loop through the message information list. Skip deleted messages */
18 for (i
= p
->msg_count
, mp
= p
->mlp
; i
> 0; i
--, mp
++) {
19 if (!(mp
->flags
& DEL_FLAG
))
20 fprintf(p
->output
,"%u\t%s\t%s\t%s\t%s\t%lu\t%u\r\n",
30 /* "." signals the end of a multi-line transmission */
31 fprintf(p
->output
,".\r\n");
36 return pop_msg(p
, POP_FAILURE
, "Command not implemented.");