backend.c: Revert accidentally committed test code.
This commit is contained in:
parent
589a10135a
commit
8e2d43cc97
|
@ -56,7 +56,7 @@ SR_API int sr_init(struct sr_context **ctx)
|
||||||
|
|
||||||
#ifdef HAVE_LIBUSB_1_0
|
#ifdef HAVE_LIBUSB_1_0
|
||||||
ret = libusb_init(&context->libusb_ctx);
|
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));
|
sr_err("libusb_init() returned %s.\n", libusb_error_name(ret));
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue