Skip to content
Snippets Groups Projects
Commit 9618ac27 authored by dtc's avatar dtc
Browse files

Remove a linux ntoh swap in lookup-host-entry as this is now handled

elsewhere; tested by Raymond Toy.
parent 6dd16a7a
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain. ;;; Carnegie Mellon University, and has been placed in the public domain.
;;; ;;;
(ext:file-comment (ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/internet.lisp,v 1.18 1997/01/18 14:30:52 ram Exp $") "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/internet.lisp,v 1.19 1997/12/01 16:52:50 dtc Exp $")
;;; ;;;
;;; ********************************************************************** ;;; **********************************************************************
;;; ;;;
...@@ -219,10 +219,8 @@ struct in_addr { ...@@ -219,10 +219,8 @@ struct in_addr {
(results)) (results))
(t (t
(results (results
#-linux (deref (deref (slot hostent 'addr-list) index)) (deref (deref (slot hostent 'addr-list) index)))
#+linux (ntohl (deref (deref (slot hostent 'addr-list) index))) (repeat (1+ index)))))))))))
)
(repeat (1+ index)))))))))))
(defun create-unix-socket (&optional (kind :stream)) (defun create-unix-socket (&optional (kind :stream))
(multiple-value-bind (proto type) (multiple-value-bind (proto type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment