backend.c: Revert accidentally committed test code.

This commit is contained in:
Uwe Hermann 2012-10-22 10:17:38 +02:00
parent 589a10135a
commit 8e2d43cc97
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }