Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
msmeissn committed Oct 19, 2024
1 parent d2f904f commit be357ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions camlibs/ptp2/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -6934,8 +6934,7 @@ camera_wait_for_event (Camera *camera, int timeout,
if (PTP_RC_OK == ptp_object_find(params, event.Param1, &ob))
continue;
#endif
newobject = event.Param1;
ret = ptp_object_want (params, newobject, PTPOBJECT_OBJECTINFO_LOADED, &ob);
ret = ptp_object_want (params, event.Param1, PTPOBJECT_OBJECTINFO_LOADED, &ob);
if (ret != PTP_RC_OK) {
*eventtype = GP_EVENT_UNKNOWN;
C_MEM (*eventdata = strdup ("object added not found (already deleted)"));
Expand Down

0 comments on commit be357ed

Please sign in to comment.