Changeset 1315
- Timestamp:
- 09/04/11 22:52:51 (22 months ago)
- File:
-
- 1 edited
-
trunk/core/ptp.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/ptp.c
r1155 r1315 435 435 if ( temp_data_kind != 1 ) 436 436 { 437 // send dummy data, otherwise error hoses connection 438 send_ptp_data(data,"\0",1); 437 439 ptp.code = PTP_RC_GeneralError; 438 440 break; … … 442 444 if ( fn == NULL ) 443 445 { 446 // send dummy data, otherwise error hoses connection 447 send_ptp_data(data,"\0",1); 444 448 free(temp_data.str); 445 449 temp_data_kind = 0; … … 456 460 if ( f == NULL ) 457 461 { 462 // send dummy data, otherwise error hoses connection 463 send_ptp_data(data,"\0",1); 458 464 ptp.code = PTP_RC_GeneralError; 459 465 free(fn); … … 469 475 if ( buf == NULL ) 470 476 { 477 // send dummy data, otherwise error hoses connection 478 send_ptp_data(data,"\0",1); 471 479 ptp.code = PTP_RC_GeneralError; 472 480 break;
Note: See TracChangeset
for help on using the changeset viewer.