User might not have provided the value of slot :TYPE

This commit is contained in:
jjgarcia 2005-02-17 13:40:35 +00:00
parent 99acd6092f
commit fa7d62304b

View file

@ -293,8 +293,7 @@ directly instantiated."))
proto-num))))
(if (= fd -1) (socket-error "socket"))
(setf (slot-value socket 'file-descriptor) fd
(slot-value socket 'protocol) proto-num
(slot-value socket 'type) type)
(slot-value socket 'protocol) proto-num)
#+ ignore
(sb-ext:finalize socket (lambda () (sockint::close fd)))))