+ don't output anything in DNS-LOOKUP

+ typo fix in pretty-print-dns-message
This commit is contained in:
mainzelm 2003-01-20 14:20:53 +00:00
parent 7bfa52c689
commit 54eb862b4a
1 changed files with 1 additions and 5 deletions

View File

@ -1271,10 +1271,6 @@
(check-answer (lambda (dns-msg) #t))
(dns-msg (dns-get-information question use-cache? protocol nameservers check-answer))
(answers (message-answers (dns-message-reply dns-msg))))
(if (not (null? answers))
(for-each (lambda (x) (show-dns-message x)(newline)) answers)
;;; TODO remove display
(display "no answers received - but resolved information in other sections.\n"))
dns-msg))
@ -1400,7 +1396,7 @@
(display ": ")
(display s2)
(newline)))))
(with-current-output-port
(with-current-output-port*
(if (null? maybe-port)
(current-output-port)
(car maybe-port))