Skip to content

Commit

Permalink
Fixed error in lookup-service .
Browse files Browse the repository at this point in the history
Signed-off-by: Stelian Ionescu <[email protected]>
  • Loading branch information
sionescu committed Aug 4, 2007
1 parent 100054a commit d985d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sockets/resolv.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ remaining address list as the second return value."
of :TCP, :UDP or :ANY."
(check-type protocol (member :tcp :udp :any))
(let ((parsed-number (parse-number-or-nil port-or-name :ub16)))
(if
(if parsed-number
(lookup-service-number parsed-number protocol)
(lookup-service-name port-or-name protocol))))

Expand Down

0 comments on commit d985d59

Please sign in to comment.