summaryrefslogtreecommitdiff
path: root/lisp/nntp.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-01-29 23:18:20 +0000
committerKarl Heuer <kwzh@gnu.org>1996-01-29 23:18:20 +0000
commit1063c0f584b87d5183f5e1f275e3ca022ab9413e (patch)
treefd322f2a314389bbb8933d463b625a13c69fdea0 /lisp/nntp.el
parentbf3fc8ea3a95969349d16e70cf913bd013f2c492 (diff)
downloademacs-1063c0f584b87d5183f5e1f275e3ca022ab9413e.tar.gz
(nntp-send-strings-to-server, nntp-async-send-strings): Fix error format string.
Diffstat (limited to 'lisp/nntp.el')
-rw-r--r--lisp/nntp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/nntp.el b/lisp/nntp.el
index f3c0b7a0eb7..4577fe52585 100644
--- a/lisp/nntp.el
+++ b/lisp/nntp.el
@@ -1014,7 +1014,7 @@ It will prompt for a password."
;; We open the nntp server if it is down.
(or (nntp-server-opened nntp-current-server)
(nntp-open-server nntp-current-server)
- (error (nntp-status-message)))
+ (error "%s" (nntp-status-message)))
;; Send the strings.
(process-send-string nntp-server-process cmd)))
@@ -1260,7 +1260,7 @@ defining this function as macro."
(let ((cmd (concat (mapconcat 'identity strings " ") "\r\n")))
(or (nntp-async-server-opened)
(nntp-async-open-server)
- (error (nntp-status-message)))
+ (error "%s" (nntp-status-message)))
(process-send-string nntp-async-process cmd)))
(defun nntp-async-request-group (group)