From 2bbeb8643b2618fe05c362e0fa87e37cf9f689e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 28 Feb 2011 01:05:59 +0100 Subject: oooops shame on me --- libk8055/libk8055.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libk8055/libk8055.c b/libk8055/libk8055.c index ad34212..a2eef7c 100644 --- a/libk8055/libk8055.c +++ b/libk8055/libk8055.c @@ -252,7 +252,7 @@ int CloseDevice() { if (debug) fprintf(stderr, "Current device is not open\n" ); return 0; } - if(curr_dev->dev_hanlde==NULL) { + if(curr_dev->device_handle==NULL) { if (debug) fprintf(stderr, "Current device is marked as open, but device hanlde is NULL\n" ); curr_dev->dev_no = 0; return 0; -- cgit v1.1-2-g2b99