From: Bernd Herd codeberg@herdsoft.com
--- dlls/gphoto2.ds/gphoto2_main.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/gphoto2.ds/gphoto2_main.c b/dlls/gphoto2.ds/gphoto2_main.c index a47fdcc67f4..6f2d21cf255 100644 --- a/dlls/gphoto2.ds/gphoto2_main.c +++ b/dlls/gphoto2.ds/gphoto2_main.c @@ -273,6 +273,7 @@ static TW_UINT16 GPHOTO2_PendingXfersEndXfer (pTW_IDENTITY pOrigin, activeDS.twCC = TWCC_SEQERROR; return TWRC_FAILURE; } + activeDS.download_count--; TRACE("count = %d\n", activeDS.download_count); pPendingXfers->Count = activeDS.download_count; if (pPendingXfers->Count != 0) {