set nParam in response reader
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13205 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -468,7 +468,7 @@ ptp_usb_getresp (PTPParams* params, PTPContainer* resp)
|
||||
}
|
||||
/* else will be handled by ptp.c as error. */
|
||||
}
|
||||
|
||||
resp->Nparam=(rlen-12)/4;
|
||||
resp->Param1=dtoh32(usbresp.payload.params.param1);
|
||||
resp->Param2=dtoh32(usbresp.payload.params.param2);
|
||||
resp->Param3=dtoh32(usbresp.payload.params.param3);
|
||||
|
||||
Reference in New Issue
Block a user