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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user