From: <mar...@us...> - 2013-08-07 06:50:21
|
Revision: 14497 http://sourceforge.net/p/gphoto/code/14497 Author: marcusmeissner Date: 2013-08-07 06:50:17 +0000 (Wed, 07 Aug 2013) Log Message: ----------- only %p the filename for now... seems to crash Modified Paths: -------------- trunk/libgphoto2/camlibs/ptp2/ptp-pack.c Modified: trunk/libgphoto2/camlibs/ptp2/ptp-pack.c =================================================================== --- trunk/libgphoto2/camlibs/ptp2/ptp-pack.c 2013-08-06 05:55:22 UTC (rev 14496) +++ trunk/libgphoto2/camlibs/ptp2/ptp-pack.c 2013-08-07 06:50:17 UTC (rev 14497) @@ -1537,7 +1537,7 @@ (*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]); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |