mailquery.c: Issue QUIT pop command when done retrieving messges
authorRichard Basch <probe@mit.edu>
Mon, 2 Jan 1995 19:45:48 +0000 (19:45 +0000)
committerRichard Basch <probe@mit.edu>
Mon, 2 Jan 1995 19:45:48 +0000 (19:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4789 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/mailquery/ChangeLog
src/appl/mailquery/mailquery.c

index 846b52b6a928ac0a17f096dde5b5b7e9231f6369..b2d2d367275483104e138d926f94e63592f44de6 100644 (file)
@@ -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
index b2102b037a6f69e980762865e134bafbf1f0e37d..40859bc83d68406ad226855cdb5dc04ec75cf6a8 100644 (file)
@@ -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);