mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-14 23:33:38 +00:00
MeshAgent for MeshCentral2 Beta2 with improved crypto.
This commit is contained in:
@@ -157,6 +157,8 @@ duk_ret_t ILibDuktape_WritableStream_Write(duk_context *ctx)
|
||||
char *buffer = Duktape_GetBuffer(ctx, 0, &bufferLen);
|
||||
int cbIndex = 0;
|
||||
|
||||
stream->Reserved = duk_is_string(ctx, 0) ? 1 : 0;
|
||||
|
||||
for (cbIndex = 1; cbIndex < nargs; ++cbIndex)
|
||||
{
|
||||
if (duk_is_function(ctx, cbIndex)) { break; }
|
||||
|
||||
Reference in New Issue
Block a user