From: Uwe Hermann Date: Mon, 22 Oct 2012 08:17:38 +0000 (+0200) Subject: backend.c: Revert accidentally committed test code. X-Git-Tag: dsupstream~648 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8e2d43cc97438e092e1df3ad344c64032b56564e;p=libsigrok.git backend.c: Revert accidentally committed test code. --- diff --git a/backend.c b/backend.c index eba03aaf..ae9dc49e 100644 --- a/backend.c +++ b/backend.c @@ -56,7 +56,7 @@ SR_API int sr_init(struct sr_context **ctx) #ifdef HAVE_LIBUSB_1_0 ret = libusb_init(&context->libusb_ctx); - if (LIBUSB_SUCCESS == ret) { + if (LIBUSB_SUCCESS != ret) { sr_err("libusb_init() returned %s.\n", libusb_error_name(ret)); goto done; }