Fix string length computation in iotjs::WrapEval
Fix string length computation in iotjs::WrapEval

The iotjs::String constructor automatically allocates at least
size+1 bytes for the data (that +1 byte for the terminating zero),
so there is no need for the +1 on the caller side.

Moreover, strcpy can work just as fine as strcat in this case,
since caller knows where the first string ends, so there is no need
to make strcat figure that out.

IoT.js-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu

lemmaa/iotjs,lemmaa/iotjs,lemmaa/iotjs