diff options
| author | Chong Yidong | 2012-01-10 18:24:42 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-01-10 18:24:42 +0800 |
| commit | 96f8741e07a33e6ba81d5afadf3e277e8a54911c (patch) | |
| tree | e1f6be55392ad49e8086385ef6a2788e3fd9741d | |
| parent | 7d8d6e4efb909345c407f338e6e858d864847344 (diff) | |
| download | emacs-96f8741e07a33e6ba81d5afadf3e277e8a54911c.tar.gz emacs-96f8741e07a33e6ba81d5afadf3e277e8a54911c.zip | |
Fix an error message glitch in network-stream.el.
* net/network-stream.el (network-stream-open-starttls): Avoid
emitting a confusing error message when the server gives a bad
response to the capability command.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/net/network-stream.el | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bf229a4acbc..c905a283b11 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-01-10 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * net/network-stream.el (network-stream-open-starttls): Avoid | ||
| 4 | emitting a confusing error message when the server gives a bad | ||
| 5 | response to the capability command. | ||
| 6 | |||
| 1 | 2012-01-10 Glenn Morris <rgm@gnu.org> | 7 | 2012-01-10 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * mail/unrmail.el (unrmail): Tweak previous change. | 9 | * mail/unrmail.el (unrmail): Tweak previous change. |
diff --git a/lisp/net/network-stream.el b/lisp/net/network-stream.el index 7860eb96846..8730e875ea0 100644 --- a/lisp/net/network-stream.el +++ b/lisp/net/network-stream.el | |||
| @@ -299,7 +299,8 @@ functionality. | |||
| 299 | ;; support, or no gnutls-cli installed. | 299 | ;; support, or no gnutls-cli installed. |
| 300 | (eq resulting-type 'plain)) | 300 | (eq resulting-type 'plain)) |
| 301 | (setq error | 301 | (setq error |
| 302 | (if starttls-available | 302 | (if (or (null starttls-command) |
| 303 | starttls-available) | ||
| 303 | "Server does not support TLS" | 304 | "Server does not support TLS" |
| 304 | (concat "Emacs does not support TLS, and no external `" | 305 | (concat "Emacs does not support TLS, and no external `" |
| 305 | (if starttls-use-gnutls | 306 | (if starttls-use-gnutls |