changeset 14428:165a13220edc

(nntp-send-strings-to-server, nntp-async-send-strings): Fix error format string.
author Karl Heuer <kwzh@gnu.org>
date Mon, 29 Jan 1996 23:18:20 +0000
parents ac3101efc47e
children da2b8c03799f
files lisp/nntp.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/nntp.el	Mon Jan 29 23:17:49 1996 +0000
+++ b/lisp/nntp.el	Mon Jan 29 23:18:20 1996 +0000
@@ -1014,7 +1014,7 @@
     ;; 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 @@
   (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)