No empty .Rs/.Re
[netbsd-mini2440.git] / crypto / dist / heimdal / appl / popper / pop_stat.c
blob03439b3d350ed393871cf4b25292ad00e46f4e27
1 /*
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.
5 */
7 #include <popper.h>
8 __RCSID("$Heimdal: pop_stat.c 1707 1997-05-11 11:04:38Z assar $"
9 "$NetBSD$");
11 /*
12 * stat: Display the status of a POP maildrop to its client
15 int
16 pop_stat (POP *p)
18 #ifdef DEBUG
19 if (p->debug) pop_log(p,POP_DEBUG,"%d message(s) (%ld octets).",
20 p->msg_count-p->msgs_deleted,
21 p->drop_size-p->bytes_deleted);
22 #endif /* DEBUG */
23 return (pop_msg (p,POP_SUCCESS,
24 "%d %ld",
25 p->msg_count-p->msgs_deleted,
26 p->drop_size-p->bytes_deleted));