Debugging support.

This commit is contained in:
Ian Gulliver
2015-06-19 22:57:11 +00:00
parent f434b5ff7b
commit 65c118ce6c
3 changed files with 14 additions and 2 deletions

View File

@@ -126,7 +126,9 @@ cosmo *create_client(test_state *state) {
.message = on_message,
};
return cosmo_create("https://playground.cosmopolite.org/cosmopolite", client_id, &callbacks, state);
cosmo *ret = cosmo_create("https://playground.cosmopolite.org/cosmopolite", client_id, &callbacks, state);
// ret->debug = true;
return ret;
}
json_t *random_subject(const char *readable_only_by, const char *writeable_only_by) {