Skip to content

src: don't create Undefined if not needed

This commit moves the creation of argv and only creates an undefined value if the passed in status was not 0.

The variable name client_handle was already used in this function but I've change that usage so that this variable name matches the onconnection callback functions parameter name clientHandle.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading