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
This commit is contained in:
Marcus Meissner
2007-05-08 17:52:28 +00:00
parent b957af06c0
commit 9c3a54f3b4

View File

@@ -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)