IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 10, 2008, 10:32:59 AM (18 years ago)
Author:
eugene
Message:

updates from current HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080719/ippTools/src/pstamptool.c

    r18923 r19003  
    220220    PXOPT_LOOKUP_STR(uri,         config->args, "-uri",           true, false);
    221221    // PXOPT_LOOKUP_STR(outFileset,  config->args, "-out_fileset",   true, false);
    222     PXOPT_LOOKUP_STR(ds_id,       config->args, "-ds_id",         false, false);
     222    PXOPT_LOOKUP_S32(ds_id,       config->args, "-ds_id",         false, false);
    223223
    224224    char *query ="INSERT INTO pstampRequest"
    225225                     " (state, uri, ds_id, fault)"
    226                      " VALUES( 'new', '%s', %s, 0 )";
     226                     " VALUES( 'new', '%s', %" PRId64 ", 0 )";
    227227    if (!p_psDBRunQuery(config->dbh, query, uri, ds_id)) {
    228228        psError(PS_ERR_UNKNOWN, false, "database error");
Note: See TracChangeset for help on using the changeset viewer.