[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Use nntp-open-tls-stream in url-snews
From: |
Diane Murray |
Subject: |
Use nntp-open-tls-stream in url-snews |
Date: |
Tue, 20 Nov 2007 22:16:11 +0100 |
url-snews still uses `nntp-open-ssl-stream' as the default function to
open connections unless the `url-gateway-method' is set to tls. This
patch changes it to use `nntp-open-tls-stream'. This also fixes a bug
where an error would occur because the function names weren't quoted.
2007-11-20 Diane Murray <address@hidden>
* url-news.el (url-snews): Always use `nntp-open-tls-stream'.
*** url-news.el 22 Sep 2007 04:02:28 +0200 1.14.2.2
--- url-news.el 20 Nov 2007 22:05:17 +0100
***************
*** 127,135 ****
;;;###autoload
(defun url-snews (url)
! (let ((nntp-open-connection-function (if (eq 'tls url-gateway-method)
! nntp-open-tls-stream
! nntp-open-ssl-stream)))
(url-news url)))
(provide 'url-news)
--- 127,133 ----
;;;###autoload
(defun url-snews (url)
! (let ((nntp-open-connection-function 'nntp-open-tls-stream))
(url-news url)))
(provide 'url-news)
- Use nntp-open-tls-stream in url-snews,
Diane Murray <=