X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/763aa499559abaf1b4805f868a64d42642de3c34..5d7cc6d52918fbf09b9af24f6165961cae52836f:/Console.cpp diff --git a/Console.cpp b/Console.cpp index 3035960..1afdb2f 100644 --- a/Console.cpp +++ b/Console.cpp @@ -141,7 +141,9 @@ static CYUTF8String Run(CYPool &pool, int client, CYUTF8String code) { json = NULL; #endif mode_ = Working; - if (json != NULL) + if (json == NULL) + size = 0; + else size = strlen(json); } else { mode_ = Sending;