This commit was generated by cvs2svn to compensate for changes in r2264,
[elisp/gnus.git-] / lisp / nndb.el
index 032d7c0..007d8e5 100644 (file)
 (eval-when-compile (require 'cl))
 
 (eval-and-compile
-  (unless (fboundp 'open-network-stream)
-    (require 'tcp)))
-
-(eval-when-compile (require 'cl))
-
-(eval-and-compile
   (autoload 'news-setup "rnewspost")
   (autoload 'news-reply-mode "rnewspost")
   (autoload 'cancel-timer "timer")
@@ -195,7 +189,7 @@ article was posted to nndb")
          (nntp-send-command "^[23].*\n" "X-DELETE" delete-list))
       )
        
-    (message "")
+    (nnheader-message 5 "")
     (nconc rest articles)))
 
 (defun nndb-get-remote-expire-response ()
@@ -297,7 +291,7 @@ Optional LAST is ignored."
     (or (string-match "^\\([0-9]+\\)" msg)
        (error "nndb: %s" msg))
     (setq art (substring msg (match-beginning 1) (match-end 1)))
-    (message "nndb: accepted %s" art)
+    (nnheader-message 5 "nndb: accepted %s" art)
     (list art)))
 
 (deffoo nndb-request-replace-article (article group buffer)