Changeset 1678 for branches/release-1_0/core/ptp.c
- Timestamp:
- 02/18/12 05:27:03 (15 months ago)
- File:
-
- 1 edited
-
branches/release-1_0/core/ptp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_0/core/ptp.c
r1504 r1678 2 2 #ifdef CAM_CHDK_PTP 3 3 #include "stddef.h" 4 4 5 #include "platform.h" 5 6 #include "stdlib.h" 6 7 #include "ptp.h" 7 8 #include "kbd.h" 8 9 9 #include "core.h" 10 10 11 11 static int buf_size=0; 12 12 … … 422 422 fclose(f); 423 423 } 424 424 425 free(buf); 425 if(data_size > 0 && ptp.code != PTP_RC_OK) { 426 flush_recv_ptp_data(data,data_size); 427 } 426 if(data_size > 0 && ptp.code != PTP_RC_OK) { 427 flush_recv_ptp_data(data,data_size); 428 } 428 429 break; 429 430 }
Note: See TracChangeset
for help on using the changeset viewer.