IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30061


Ignore:
Timestamp:
Dec 15, 2010, 9:35:00 PM (15 years ago)
Author:
watersc1
Message:

backport to fix ota01 bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20101215/ippTools/src/regtool.c

    r30057 r30061  
    349349      psMetadataAddStr(row,PS_LIST_TAIL,"previous_class_id",PS_META_REPLACE,"",previous_class_id);
    350350    }
    351    
     351    // class_id = NULL sorts to the top of the list, so skip those (incomplete downloads)
     352    if (!this_class_id) {
     353      continue;
     354    }
    352355    // Determine if we've crossed a class_id boundary, as this resets the bits.
    353356    if (previous_class_id) {
     
    370373    if ((psMetadataLookupS32(NULL,row,"is_downloaded") != 1)||
    371374        (psMetadataLookupS32(NULL,row,"is_registered") != 1)) {
     375      //      printf("I claim this isn't downloaded or registered? %s %s\n",this_uri,this_class_id);
    372376      ok_to_burn = false;
    373377    }
    374378    if (already_burned == false) {
     379      //      printf("already_burned looks false %s %s\n",this_uri,this_class_id);
    375380      ok_to_burn = false;
    376381    }
     
    398403    }     
    399404
    400     //    printf("STATUS: %s %s %s %s (%d %d)\n",this_uri,previous_uri,this_class_id,previous_class_id,ok_to_burn,already_burned);
     405    //    printf("STATUS: %s %s %s %s (%d %d) %d %d %d\n",this_uri,previous_uri,this_class_id,previous_class_id,ok_to_burn,already_burned,psMetadataLookupS32(NULL,row,"burntool_state"),psMetadataLookupS32(NULL,row,"is_registered"),psMetadataLookupS32(NULL,row,"is_downloaded"));
    401406
    402407    // If the state of this imfile is not "pending_burntool" then we can't burn it.
Note: See TracChangeset for help on using the changeset viewer.