diff options
Diffstat (limited to 'src/libirecovery.c')
| -rw-r--r-- | src/libirecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c index 6f155e5..54af81d 100644 --- a/src/libirecovery.c +++ b/src/libirecovery.c | |||
| @@ -817,7 +817,7 @@ void irecv_set_debug_level(int level) { | |||
| 817 | libirecovery_debug = level; | 817 | libirecovery_debug = level; |
| 818 | #ifndef WIN32 | 818 | #ifndef WIN32 |
| 819 | if(libirecovery_context) { | 819 | if(libirecovery_context) { |
| 820 | libusb_set_debug(libirecovery_context, libirecovery_debug); | 820 | libusb_set_debug(libirecovery_context, libirecovery_debug > 2 ? 1: 0); |
| 821 | } | 821 | } |
| 822 | #endif | 822 | #endif |
| 823 | } | 823 | } |
