summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/appl/mailquery/ChangeLog5
-rw-r--r--src/appl/mailquery/mailquery.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/appl/mailquery/ChangeLog b/src/appl/mailquery/ChangeLog
index 846b52b6a..b2d2d3672 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 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);