debug newobject

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15099 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2014-07-21 21:08:25 +00:00
parent b0d404cae5
commit 2853095fb4

View File

@@ -2590,7 +2590,7 @@ capturetriggered:
debug_objectinfo(params, newobject, &oi);
if (oi.ParentObject == 0) { /* Capture to SDRAM */
GP_LOG_E ("Parentobject is 0x%lx now?", (unsigned long)oi.ParentObject);
GP_LOG_E ("Parentobject of newobject 0x%x is 0x%x now?", (unsigned int)newobject, (unsigned int)oi.ParentObject);
/* Happens on Nikon D70, we get Storage ID 0. So fake one. */
if (oi.StorageID == 0) {
strcpy (path->folder, "/");