only %p the filename for now... seems to crash
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14497 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -1537,7 +1537,7 @@ ptp_unpack_CANON_changes (PTPParams *params, unsigned char* data, int datasize,
|
||||
(*ce)[i].u.object.oi.ObjectCompressedSize = dtoh32a(&curdata[PTP_ece_OI_Size]);
|
||||
(*ce)[i].u.object.oi.Filename = strdup(((char*)&curdata[PTP_ece_OI_Name]));
|
||||
|
||||
ptp_debug (params, "event %d: request object transfer oid %08lx, ofc %04x, size %d, filename %s", i, (*ce)[i].u.object.oid, (*ce)[i].u.object.oi.ObjectFormat, (*ce)[i].u.object.oi.ObjectCompressedSize, (*ce)[i].u.object.oi.Filename);
|
||||
ptp_debug (params, "event %d: request object transfer oid %08lx, ofc %04x, size %d, filename %p", i, (*ce)[i].u.object.oid, (*ce)[i].u.object.oi.ObjectFormat, (*ce)[i].u.object.oi.ObjectCompressedSize, (*ce)[i].u.object.oi.Filename);
|
||||
break;
|
||||
case PTP_EC_CANON_EOS_AvailListChanged: { /* property desc */
|
||||
uint32_t proptype = dtoh32a(&curdata[PTP_ece_Prop_Subtype]);
|
||||
|
||||
Reference in New Issue
Block a user