diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js index 30947fe2..bb9676cc 100644 --- a/src/library.js +++ b/src/library.js @@ -7741,7 +7741,7 @@ LibraryManager.library = { // struct protoent *getprotoent(void); // reads the next entry from the protocols 'database' or return NULL if 'eof' if (_setprotoent.index === PROTOCOL_LIST.length) { - return null; + return 0; } else { var result = PROTOCOL_LIST[_setprotoent.index++]; return result; |