aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFraser Adams <fraser.adams@blueyonder.co.uk>2013-11-10 06:16:11 +0000
committerFraser Adams <fraser.adams@blueyonder.co.uk>2013-11-10 06:16:11 +0000
commit2b23ee3031155530c01d9b718bedba4addf626e5 (patch)
treed2b09a916e54b4eef4727617bdd090aa57b23ac6
parentea7053a084760b5dac25c4a8aa1345ad2ac79ed6 (diff)
Changed library.js line 7509 to use hint !== 0 test vice hint != 0
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 2e017d0a..d28e97c6 100644
--- a/src/library.js
+++ b/src/library.js
@@ -7506,7 +7506,7 @@ LibraryManager.library = {
{{{ cDefine('AI_NUMERICSERV') }}}|{{{ cDefine('AI_V4MAPPED') }}}|{{{ cDefine('AI_ALL') }}}|{{{ cDefine('AI_ADDRCONFIG') }}})) {
return {{{ cDefine('EAI_BADFLAGS') }}};
}
- if (hint != 0 && ({{{ makeGetValue('hint', C_STRUCTS.addrinfo.ai_flags, 'i32') }}} & {{{ cDefine('AI_CANONNAME') }}}) && !node) {
+ if (hint !== 0 && ({{{ makeGetValue('hint', C_STRUCTS.addrinfo.ai_flags, 'i32') }}} & {{{ cDefine('AI_CANONNAME') }}}) && !node) {
return {{{ cDefine('EAI_BADFLAGS') }}};
}
if (flags & {{{ cDefine('AI_ADDRCONFIG') }}}) {