diff options
Diffstat (limited to 'pop3d/top.c')
-rw-r--r-- | pop3d/top.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pop3d/top.c b/pop3d/top.c index 7e0ce5de3..cd069c86b 100644 --- a/pop3d/top.c +++ b/pop3d/top.c @@ -30,6 +30,7 @@ pop3d_top (char *arg) mu_body_t body; mu_stream_t stream; char *mesgc, *linesc, *p; + int xscript_level; if (strlen (arg) == 0) return ERR_BAD_ARGS; @@ -62,6 +63,8 @@ pop3d_top (char *arg) return ERR_UNKNOWN; pop3d_outf ("+OK\n"); + xscript_level = set_xscript_level (XSCRIPT_PAYLOAD); + mu_stream_copy (iostream, stream, 0, NULL); pop3d_outf ("\n"); mu_stream_destroy (&stream); @@ -85,5 +88,7 @@ pop3d_top (char *arg) pop3d_outf (".\n"); + set_xscript_level (xscript_level); + return OK; } |