]> git.eshelyaron.com Git - emacs.git/commitdiff
(nntp-open-server): Send MODE READER command to server.
authorRichard M. Stallman <rms@gnu.org>
Tue, 18 Oct 1994 02:45:12 +0000 (02:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 18 Oct 1994 02:45:12 +0000 (02:45 +0000)
lisp/nntp.el

index e72e7efec978c03cc27087b94007100f0a4d8b56..b34c17c72134eea80b95413c4693a3b4d79bec7f 100644 (file)
@@ -338,8 +338,9 @@ If optional argument SERVICE is non-nil, open by the service name."
           ;; Do check unexpected close of connection.
           ;; Suggested by feldmark@hanako.stars.flab.fujitsu.junet.
           (if status
-              (set-process-sentinel nntp-server-process
-                                    'nntp-default-sentinel)
+              (progn (set-process-sentinel nntp-server-process
+                                           'nntp-default-sentinel)
+                     (nntp-send-command "^[25].*\r$" "MODE" "READER"))
             ;; We have to close connection here, since function
             ;;  `nntp-server-opened' may return incorrect status.
             (nntp-close-server-internal)