Use newly-extended OPEN-TCP-STREAM-SOCKET.
authorChris Hanson <org/chris-hanson/cph>
Sat, 1 Nov 1997 19:33:58 +0000 (19:33 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sat, 1 Nov 1997 19:33:58 +0000 (19:33 +0000)
v7/src/edwin/nntp.scm

index 8a2096f55ed3bfd753ec48daf5189f7063b30638..68bfebcb839b5f63748eb457934c1cacc9125dfb 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Id: nntp.scm,v 1.14 1997/03/31 20:54:59 cph Exp $
+;;;    $Id: nntp.scm,v 1.15 1997/11/01 19:33:58 cph Exp $
 ;;;
 ;;;    Copyright (c) 1995-97 Massachusetts Institute of Technology
 ;;;
                        "... ")))
     (message msg)
     (let ((port
-          (let ((channel
-                 (open-tcp-stream-socket-channel
-                  (nntp-connection:server connection)
-                  "nntp"))
-                (size nntp-socket-buffer-size))
-            (make-generic-i/o-port channel channel size size "\r\n"))))
+          (open-tcp-stream-socket (nntp-connection:server connection)
+                                  "nntp"
+                                  nntp-socket-buffer-size)))
       (set-nntp-connection:port! connection port)
       (set-nntp-connection:banner! connection (input-port/read-line port)))
     (set-nntp-connection:current-group! connection #f)