diff options
-rw-r--r-- | src/library.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library.js b/src/library.js index 794a12f9..5779327f 100644 --- a/src/library.js +++ b/src/library.js @@ -7330,6 +7330,7 @@ LibraryManager.library = { */ socket__deps: ['$Sockets'], socket: function(family, type, protocol) { + var INCOMING_QUEUE_LENGTH = 64; var fd = FS.createFileHandle({ addr: null, port: null, @@ -7423,8 +7424,6 @@ LibraryManager.library = { Sockets.peer = peer; } - var INCOMING_QUEUE_LENGTH = 64; - function CircularBuffer(max_length) { var buffer = new Array(++ max_length); var head = 0; |