IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2008, 3:39:54 PM (18 years ago)
Author:
jhoblitt
Message:

consitently handle *_id fields as numeric values instead of converting back of forth between ints and strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/magictool.c

    r18093 r18336  
    399399
    400400    if (psArrayLength(output)) {
    401         if (!convertIdToStr(output)) {
    402             psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    403             psFree(output);
    404             return false;
    405         }
    406 
    407401        // negative simple so the default is true
    408402        if (!ippdbPrintMetadatas(stdout, output, "magicInputSkyfile", !simple)) {
     
    627621
    628622    if (psArrayLength(output)) {
    629         if (!convertIdToStr(output)) {
    630             psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    631             psFree(output);
    632             return false;
    633         }
    634 
    635623        // negative simple so the default is true
    636624        if (!ippdbPrintMetadatas(stdout, output, "magicMe", !simple)) {
     
    718706
    719707    if (psArrayLength(output)) {
    720         if (!convertIdToStr(output)) {
    721             psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    722             psFree(output);
    723             return false;
    724         }
    725 
    726708        // negative simple so the default is true
    727709        if (!ippdbPrintMetadatas(stdout, output, "toprocess", !simple)) {
     
    806788
    807789    if (psArrayLength(output)) {
    808         if (!convertIdToStr(output)) {
    809             psError(PS_ERR_UNKNOWN, false, "failed to convert id fields into a strings");
    810             psFree(output);
    811             return false;
    812         }
    813 
    814790        // negative simple so the default is true
    815791        if (!ippdbPrintMetadatas(stdout, output, "toskyfilemask", !simple)) {
Note: See TracChangeset for help on using the changeset viewer.