diff options
author | Nikias Bassen | 2009-05-19 12:44:19 +0200 |
---|---|---|
committer | Matt Colyer | 2009-05-19 07:29:06 -0700 |
commit | 34b8e4d575876ace41b91fb6e25a5fa9f9290608 (patch) | |
tree | c8d762b433aea558ea50e49541d08910c8ae5ad9 /dev | |
parent | b3fb2a8948b561a8df8356dfcc26a1d87c1d73dd (diff) | |
download | libimobiledevice-34b8e4d575876ace41b91fb6e25a5fa9f9290608.tar.gz libimobiledevice-34b8e4d575876ace41b91fb6e25a5fa9f9290608.tar.bz2 |
lockdown: Check for gnutls errors and silence compiler warnings. general: Removed some commented-out code.
[#39 state:resolved]
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'dev')
-rw-r--r-- | dev/syslog_relay.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dev/syslog_relay.c b/dev/syslog_relay.c index 35c684a..6fc981b 100644 --- a/dev/syslog_relay.c +++ b/dev/syslog_relay.c @@ -104,11 +104,8 @@ int main(int argc, char *argv[]) ret = iphone_lckd_start_service(control, "com.apple.syslog_relay", &port); if ((ret == IPHONE_E_SUCCESS) && port) { /* connect to socket relay messages */ - //iphone_umux_client_t syslog_client = NULL; - //ret = iphone_mux_new_client(phone, 514, port, &syslog_client); int sfd = usbmuxd_connect(iphone_get_device_handle(phone), port); - //if (ret == IPHONE_E_SUCCESS) { if (sfd < 0) { printf("ERROR: Could not open usbmux connection.\n"); } else { @@ -139,7 +136,7 @@ int main(int argc, char *argv[]) free(receive); } } - usbmuxd_disconnect(sfd); //iphone_mux_free_client(syslog_client); + usbmuxd_disconnect(sfd); } else { printf("ERROR: Could not start service com.apple.syslog_relay.\n"); } |