FS-10167: Fixed some issues that appeared primarily under windows testing, committing to determine if a specific read access violation occurs under linux as well.

This commit is contained in:
Shane Bryldt committed 2017-04-05 10:43:11 -06:00
1 parent e7fb58a6b6
commit be0e1e144b
7 files changed
+336 -13

No files matched your search

+2 -2
View File
@@ -236,14 +236,14 @@ KS_DECLARE(ks_status_t) blade_rpc_error_create(ks_pool_t *pool, cJSON **json, cJ
ks_assert(pool);
ks_assert(json);
ks_assert(id);
//ks_assert(id);
ks_assert(message);
root = cJSON_CreateObject();
cJSON_AddStringToObject(root, "jsonrpc", "2.0");
cJSON_AddStringToObject(root, "id", id);
if (id) cJSON_AddStringToObject(root, "id", id);
e = cJSON_CreateObject();
cJSON_AddNumberToObject(e, "code", code);