diff options
| author | Richard M. Stallman | 1994-10-18 02:45:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-10-18 02:45:12 +0000 |
| commit | 332ad7ce48d611a232ddd085331b1069637d85a1 (patch) | |
| tree | 4a4bcda92d5a1bcbd20d64d178d76469a7d0737f | |
| parent | 7ff974482e2c90a827846675de48dd7235ebee14 (diff) | |
| download | emacs-332ad7ce48d611a232ddd085331b1069637d85a1.tar.gz emacs-332ad7ce48d611a232ddd085331b1069637d85a1.zip | |
(nntp-open-server): Send MODE READER command to server.
| -rw-r--r-- | lisp/nntp.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/nntp.el b/lisp/nntp.el index e72e7efec97..b34c17c7213 100644 --- a/lisp/nntp.el +++ b/lisp/nntp.el | |||
| @@ -338,8 +338,9 @@ If optional argument SERVICE is non-nil, open by the service name." | |||
| 338 | ;; Do check unexpected close of connection. | 338 | ;; Do check unexpected close of connection. |
| 339 | ;; Suggested by feldmark@hanako.stars.flab.fujitsu.junet. | 339 | ;; Suggested by feldmark@hanako.stars.flab.fujitsu.junet. |
| 340 | (if status | 340 | (if status |
| 341 | (set-process-sentinel nntp-server-process | 341 | (progn (set-process-sentinel nntp-server-process |
| 342 | 'nntp-default-sentinel) | 342 | 'nntp-default-sentinel) |
| 343 | (nntp-send-command "^[25].*\r$" "MODE" "READER")) | ||
| 343 | ;; We have to close connection here, since function | 344 | ;; We have to close connection here, since function |
| 344 | ;; `nntp-server-opened' may return incorrect status. | 345 | ;; `nntp-server-opened' may return incorrect status. |
| 345 | (nntp-close-server-internal) | 346 | (nntp-close-server-internal) |