From 0be69c24d931816c063e89409ff09a605afbcbad Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Tue, 31 Mar 2015 16:17:09 +0000 Subject: - fix --- src/identity/plugin_rest_identity.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c index 204da910a..1aecefae9 100644 --- a/src/identity/plugin_rest_identity.c +++ b/src/identity/plugin_rest_identity.c @@ -440,20 +440,17 @@ ego_create_cont (struct RestConnectionDataHandle *con, term_data[handle->data_size] = '\0'; memcpy (term_data, handle->data, handle->data_size); json_obj = GNUNET_REST_jsonapi_object_parse (term_data); -GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "2\n"); if (NULL == json_obj) { GNUNET_SCHEDULER_add_now (&do_error, handle); return; } - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "2.1\n"); if (1 != GNUNET_REST_jsonapi_object_resource_count (json_obj)) { GNUNET_REST_jsonapi_object_delete (json_obj); GNUNET_SCHEDULER_add_now (&do_error, handle); return; } -GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "3\n"); json_res = GNUNET_REST_jsonapi_object_get_resource (json_obj, 0); if (GNUNET_NO == GNUNET_REST_jsonapi_resource_check_type (json_res, GNUNET_REST_JSONAPI_IDENTITY_EGO)) { @@ -463,7 +460,6 @@ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "3\n"); cleanup_handle (handle); return; } - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "4\n"); egoname_json = GNUNET_REST_jsonapi_resource_read_attr (json_res, GNUNET_REST_JSONAPI_KEY_ID); if (!json_is_string (egoname_json)) { -- cgit v1.2.3