2737 } |
2737 } |
2738 } |
2738 } |
2739 |
2739 |
2740 if(nullstrcmp(db_res->link_target, res->link_target)) { |
2740 if(nullstrcmp(db_res->link_target, res->link_target)) { |
2741 res->link_updated = 1; |
2741 res->link_updated = 1; |
2742 } else if(db_res->last_modified == res->last_modified && db_res->size == res->size) { |
2742 } else if( |
|
2743 db_res->last_modified == res->last_modified && |
|
2744 db_res->size == res->size && |
|
2745 db_res->isdirectory == res->isdirectory) |
|
2746 { |
2743 return 0; |
2747 return 0; |
2744 } |
2748 } |
2745 |
2749 |
2746 if(db_res->parts) { |
2750 if(db_res->parts) { |
2747 // if the resource is splitted, move the part infos to the new |
2751 // if the resource is splitted, move the part infos to the new |
2748 // LocalResource obj, because we need it later |
2752 // LocalResource obj, because we need it later |
2749 res->parts = db_res->parts; |
2753 res->parts = db_res->parts; |