From 526bcd937d45baeb6d41d4d986c079265b26a4fd Mon Sep 17 00:00:00 2001 From: Mariusz Woloszyn Date: Thu, 24 Jan 2002 17:13:33 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3996 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/ptp/ptp-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/ptp/ptp-pack.c b/camlibs/ptp/ptp-pack.c index 98012ae4b..1d2c9d64a 100644 --- a/camlibs/ptp/ptp-pack.c +++ b/camlibs/ptp/ptp-pack.c @@ -133,7 +133,7 @@ ptp_pack_OI (PTPParams *params, PTPObjectInfo *oi, PTPReq *req) // XXX this function should return dataset length - return 144; // 144 is enough :) + return (PTP_oi_Filename+(filenamelen+1)*2+(capturedatelen+1)*4); } static inline void