From 9c3a54f3b47e13bf308ab4336e4ffcdc2dbafb9d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 8 May 2007 17:52:28 +0000 Subject: [PATCH] fixed wrong array index. (CID 32) git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10116 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/sipix/blink2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/sipix/blink2.c b/camlibs/sipix/blink2.c index 699a3e68a..9f09de268 100644 --- a/camlibs/sipix/blink2.c +++ b/camlibs/sipix/blink2.c @@ -375,7 +375,7 @@ camera_capture (Camera *camera, CameraCaptureType type, CameraFilePath *path, if (ret < GP_OK) return ret; sleep(1); - } while (buf[1] == 0x00); + } while (buf[0] == 0x00); ret = blink2_getnumpics (camera->port, context, &numpics); if (ret < GP_OK)