diff options
| author | 2013-11-04 23:19:37 +0100 | |
|---|---|---|
| committer | 2013-11-04 23:19:37 +0100 | |
| commit | 49f549c9dccdb54a4f27931f8069baa73d1d1bf8 (patch) | |
| tree | 25dde4b485b6b8b83c99719e721c179acbfc6a6a /src/idevice.c | |
| parent | 2eaa56006670275faf691ae26679e14dde77e7ed (diff) | |
| download | libimobiledevice-49f549c9dccdb54a4f27931f8069baa73d1d1bf8.tar.gz libimobiledevice-49f549c9dccdb54a4f27931f8069baa73d1d1bf8.tar.bz2 | |
Convert stray spaces to corresponding tabs
Diffstat (limited to 'src/idevice.c')
| -rw-r--r-- | src/idevice.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/idevice.c b/src/idevice.c index b067fa5..ec426e5 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -71,7 +71,7 @@ idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_ | |||
| 71 | { | 71 | { |
| 72 | event_cb = callback; | 72 | event_cb = callback; |
| 73 | int res = usbmuxd_subscribe(usbmux_event_cb, user_data); | 73 | int res = usbmuxd_subscribe(usbmux_event_cb, user_data); |
| 74 | if (res != 0) { | 74 | if (res != 0) { |
| 75 | event_cb = NULL; | 75 | event_cb = NULL; |
| 76 | debug_info("Error %d when subscribing usbmux event callback!", res); | 76 | debug_info("Error %d when subscribing usbmux event callback!", res); |
| 77 | return IDEVICE_E_UNKNOWN_ERROR; | 77 | return IDEVICE_E_UNKNOWN_ERROR; |
| @@ -597,28 +597,28 @@ static int ssl_verify_callback(int ok, X509_STORE_CTX *ctx) | |||
| 597 | #ifndef STRIP_DEBUG_CODE | 597 | #ifndef STRIP_DEBUG_CODE |
| 598 | static const char *errorstring(int e) | 598 | static const char *errorstring(int e) |
| 599 | { | 599 | { |
| 600 | switch(e) { | 600 | switch(e) { |
| 601 | case SSL_ERROR_NONE: | 601 | case SSL_ERROR_NONE: |
| 602 | return "SSL_ERROR_NONE"; | 602 | return "SSL_ERROR_NONE"; |
| 603 | case SSL_ERROR_SSL: | 603 | case SSL_ERROR_SSL: |
| 604 | return "SSL_ERROR_SSL"; | 604 | return "SSL_ERROR_SSL"; |
| 605 | case SSL_ERROR_WANT_READ: | 605 | case SSL_ERROR_WANT_READ: |
| 606 | return "SSL_ERROR_WANT_READ"; | 606 | return "SSL_ERROR_WANT_READ"; |
| 607 | case SSL_ERROR_WANT_WRITE: | 607 | case SSL_ERROR_WANT_WRITE: |
| 608 | return "SSL_ERROR_WANT_WRITE"; | 608 | return "SSL_ERROR_WANT_WRITE"; |
| 609 | case SSL_ERROR_WANT_X509_LOOKUP: | 609 | case SSL_ERROR_WANT_X509_LOOKUP: |
| 610 | return "SSL_ERROR_WANT_X509_LOOKUP"; | 610 | return "SSL_ERROR_WANT_X509_LOOKUP"; |
| 611 | case SSL_ERROR_SYSCALL: | 611 | case SSL_ERROR_SYSCALL: |
| 612 | return "SSL_ERROR_SYSCALL"; | 612 | return "SSL_ERROR_SYSCALL"; |
| 613 | case SSL_ERROR_ZERO_RETURN: | 613 | case SSL_ERROR_ZERO_RETURN: |
| 614 | return "SSL_ERROR_ZERO_RETURN"; | 614 | return "SSL_ERROR_ZERO_RETURN"; |
| 615 | case SSL_ERROR_WANT_CONNECT: | 615 | case SSL_ERROR_WANT_CONNECT: |
| 616 | return "SSL_ERROR_WANT_CONNECT"; | 616 | return "SSL_ERROR_WANT_CONNECT"; |
| 617 | case SSL_ERROR_WANT_ACCEPT: | 617 | case SSL_ERROR_WANT_ACCEPT: |
| 618 | return "SSL_ERROR_WANT_ACCEPT"; | 618 | return "SSL_ERROR_WANT_ACCEPT"; |
| 619 | default: | 619 | default: |
| 620 | return "UNKOWN_ERROR_VALUE"; | 620 | return "UNKOWN_ERROR_VALUE"; |
| 621 | } | 621 | } |
| 622 | } | 622 | } |
| 623 | #endif | 623 | #endif |
| 624 | #endif | 624 | #endif |
| @@ -726,7 +726,7 @@ idevice_error_t idevice_connection_enable_ssl(idevice_connection_t connection) | |||
| 726 | SSL_set_bio(ssl, ssl_bio, ssl_bio); | 726 | SSL_set_bio(ssl, ssl_bio, ssl_bio); |
| 727 | 727 | ||
| 728 | return_me = SSL_do_handshake(ssl); | 728 | return_me = SSL_do_handshake(ssl); |
| 729 | if (return_me != 1) { | 729 | if (return_me != 1) { |
| 730 | debug_info("ERROR in SSL_do_handshake: %s", errorstring(SSL_get_error(ssl, return_me))); | 730 | debug_info("ERROR in SSL_do_handshake: %s", errorstring(SSL_get_error(ssl, return_me))); |
| 731 | BIO_free(ssl_bio); | 731 | BIO_free(ssl_bio); |
| 732 | SSL_CTX_free(ssl_ctx); | 732 | SSL_CTX_free(ssl_ctx); |
