Changeset 10039 for trunk/ippTools/src/pxinject.c
- Timestamp:
- Nov 16, 2006, 6:30:50 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxinject.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxinject.c
r9464 r10039 128 128 } 129 129 130 if (!newExpInsert(config->dbh, exp_tag, exp_id, camera, telescope, exp_type, imfiles)) { 130 psTime *dateobs = NULL; 131 { 132 psString dateobsStr = psMetadataLookupStr(&status, config->args, "-dateobs"); 133 if (!status) { 134 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -dateobs"); 135 return false; 136 } 137 dateobs = psTimeFromISO(dateobsStr, PS_TIME_UTC); 138 } 139 140 141 if (!newExpInsert(config->dbh, 142 (psU64)atoll(exp_tag), 143 exp_id, 144 camera, 145 telescope, 146 dateobs, 147 exp_type, 148 imfiles 149 ) 150 ) { 131 151 psError(PS_ERR_UNKNOWN, false, "database error"); 132 152 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
