From: Richard Basch Date: Mon, 2 Jan 1995 19:45:48 +0000 (+0000) Subject: mailquery.c: Issue QUIT pop command when done retrieving messges X-Git-Tag: krb5-1.0-beta5~864 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=552ca64e27fa37b16f9979b3da861b2e4a7bbd17;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/appl/mailquery/ChangeLog b/src/appl/mailquery/ChangeLog index 846b52b6a9..b2d2d36727 100644 --- a/src/appl/mailquery/ChangeLog +++ b/src/appl/mailquery/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 2 14:41:14 1995 Richard Basch (probe@tardis) + + * mailquery.c + Issue QUIT pop command, when done retrieving messages. + Wed Nov 2 21:08:04 1994 Theodore Y. Ts'o (tytso@dcl) * poplib.c (getline, multiline): NULL should not be used as a diff --git a/src/appl/mailquery/mailquery.c b/src/appl/mailquery/mailquery.c index b2102b037a..40859bc83d 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);