Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 0a912582 authored by deuce's avatar deuce

Update documentation to match the behaviour... send() returns undefined,

not null on failure.
parent 030433fa
......@@ -2093,7 +2093,7 @@ static jsSyncMethodSpec js_socket_functions[] = {
},
{"write", js_send, 1, JSTYPE_ALIAS },
{"send", js_send, 1, JSTYPE_NUMBER, JSDOCSTR("data")
,JSDOCSTR("send a string (AKA write). Returns the number of bytes sent or null if an error occured. "
,JSDOCSTR("send a string (AKA write). Returns the number of bytes sent or undefined if an error occured. "
"Versions before 3.17 returned a bool true if all bytes were sent and false otherwise.")
,310
},
......
Markdown is supported
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