Skip to content

Commit

Permalink
export DNSError
Browse files Browse the repository at this point in the history
  • Loading branch information
samoconnor committed Apr 27, 2016
1 parent 8fb2eb6 commit b75a720
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions base/exports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export
TypeError,
AssertionError,
UnicodeError,
DNSError,

# Global constants and variables
ARGS,
Expand Down
2 changes: 1 addition & 1 deletion base/socket.jl
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ function uv_getaddrinfocb(req::Ptr{Void}, status::Cint, addrinfo::Ptr{Void})
cb = unsafe_pointer_to_objref(data)::Function
pop!(callback_dict,cb) # using pop forces an error if cb not in callback_dict
if status != 0 || addrinfo == C_NULL
cb(UVError("uv_getaddrinfodb received an unexpected status code", status))
cb(UVError("uv_getaddrinfocb received an unexpected status code", status))
else
freeaddrinfo = addrinfo
while addrinfo != C_NULL
Expand Down

0 comments on commit b75a720

Please sign in to comment.