summaryrefslogtreecommitdiffstats
path: root/src/appl/mailquery/mailquery.c
diff options
context:
space:
mode:
authorRichard Basch <probe@mit.edu>1995-01-02 19:45:48 +0000
committerRichard Basch <probe@mit.edu>1995-01-02 19:45:48 +0000
commit552ca64e27fa37b16f9979b3da861b2e4a7bbd17 (patch)
treef90ed8b3ceb3458a27c9fb3aae8f2e0e727a3fb7 /src/appl/mailquery/mailquery.c
parent06e3d1bab4ef89dac5f436937d8ca83248b8c2f2 (diff)
downloadkrb5-552ca64e27fa37b16f9979b3da861b2e4a7bbd17.tar.gz
krb5-552ca64e27fa37b16f9979b3da861b2e4a7bbd17.tar.xz
krb5-552ca64e27fa37b16f9979b3da861b2e4a7bbd17.zip
mailquery.c: Issue QUIT pop command when done retrieving messges
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4789 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/mailquery/mailquery.c')
-rw-r--r--src/appl/mailquery/mailquery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/appl/mailquery/mailquery.c b/src/appl/mailquery/mailquery.c
index b2102b037..40859bc83 100644
--- a/src/appl/mailquery/mailquery.c
+++ b/src/appl/mailquery/mailquery.c
@@ -168,6 +168,8 @@ mailquery(mhost, user)
exit (1);
}
+ (void) pop_command("QUIT");
+
if (verbose)
printf("%d messages (%d bytes) on host %s\n", nmsgs, nbytes, mhost);