Commit 3a435680 authored by cjihrig's avatar cjihrig Committed by James M Snell
Browse files

dns: lookupService() callback must be a function

lookupService() requires a callback function. This commit adds
a check to verify that the callback is actually a function.

PR-URL: https://github.com/nodejs/node/pull/8170


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarEvan Lucas <evanlucas@me.com>
Reviewed-By: default avatarYorkie Liu <yorkiefixer@gmail.com>
parent d9041631
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment