Skip to content
Snippets Groups Projects
Commit 59661e94 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

libmobile_hilink: update the existing debug_prints

parent 5d4afe04
Branches
Tags
No related merge requests found
......@@ -494,7 +494,7 @@ static struct json_object *get_monitoring_status(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -531,7 +531,7 @@ static struct json_object *mobile_get_roam_status(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -567,7 +567,7 @@ static struct json_object *get_traffic_statistics(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -590,7 +590,7 @@ struct json_object *mobile_get_provider_hilink(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -763,7 +763,7 @@ struct json_object *mobile_get_apn_profiles_hilink(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -786,7 +786,7 @@ struct json_object *mobile_get_notification_hilink(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -809,7 +809,7 @@ struct json_object *mobile_get_sms_count_hilink(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -832,7 +832,7 @@ struct json_object *mobile_get_language_hilink(char *sw_version)
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, GET)));
result_json = xml_to_json_converter(result, GET);
free_write_result(result);
......@@ -1242,7 +1242,7 @@ struct json_object *mobile_set_language_hilink(char *sw_version, char *language_
if (!result)
goto fail_result;
//lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result)));
lib_debug_print("Json object inside library: %s\n", json_object_to_json_string(xml_to_json_converter(result, POST)));
result_json = xml_to_json_converter(result, POST);
free_write_result(result);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment