summaryrefslogtreecommitdiffstats
path: root/src/webinspector.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-26 01:02:52 +0100
committerGravatar Martin Szulecki2013-02-26 01:02:52 +0100
commitdd2eba97d70f37670fd44f420ab164d5a9b59dd7 (patch)
tree75e0043a49d37def8c575ef75634ffc9993e89a5 /src/webinspector.c
parentaf3d2051d0a08ca90df50f6ffbfcb788df4c0d50 (diff)
downloadlibimobiledevice-dd2eba97d70f37670fd44f420ab164d5a9b59dd7.tar.gz
libimobiledevice-dd2eba97d70f37670fd44f420ab164d5a9b59dd7.tar.bz2
webinspector: Remove obsolete newline charaters from debug messages
Diffstat (limited to 'src/webinspector.c')
-rw-r--r--src/webinspector.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webinspector.c b/src/webinspector.c
index 52899ca..c3d57cc 100644
--- a/src/webinspector.c
+++ b/src/webinspector.c
@@ -74,10 +74,10 @@ webinspector_error_t webinspector_client_new(idevice_t device, uint16_t port, we
{
*client = NULL;
- debug_info("Creating webinspector_client, port = %d.\n", port);
+ debug_info("Creating webinspector_client, port = %d.", port);
if (!device || port == 0 || !client || *client) {
- debug_info("Incorrect parameter passed to webinspector_client_new.\n");
+ debug_info("Incorrect parameter passed to webinspector_client_new.");
return WEBINSPECTOR_E_INVALID_ARG;
}
@@ -115,7 +115,7 @@ webinspector_error_t webinspector_start_service(idevice_t device, webinspector_c
lockdownd_client_t lckd = NULL;
if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(device, &lckd, NULL)) {
idevice_free(device);
- debug_info("Could not create a lockdown client.\n");
+ debug_info("Could not create a lockdown client.");
return WEBINSPECTOR_E_UNKNOWN_ERROR;
}
@@ -124,13 +124,13 @@ webinspector_error_t webinspector_start_service(idevice_t device, webinspector_c
lockdownd_client_free(lckd);
if (port <= 0) {
- debug_info("Could not start webinspector service!\n");
+ debug_info("Could not start webinspector service!");
return WEBINSPECTOR_E_UNKNOWN_ERROR;
}
webinspector_error_t res = webinspector_client_new(device, port, client);
if (res != WEBINSPECTOR_E_SUCCESS) {
- debug_info("Could not connect to webinspector! Port: %i, error: %i\n", port, res);
+ debug_info("Could not connect to webinspector! Port: %i, error: %i", port, res);
return res;
}