- Timestamp:
- Mar 30, 2006, 3:33:07 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmConceptsWrite.c
r6734 r6743 204 204 psTrace(__func__, 8, "Writing %s to header %s\n", name, cameraItem->data.V); 205 205 writeHeader(hdu, cameraItem->data.V, formatted); 206 continue; 207 } 208 if (strcasecmp(source, "VALUE") == 0) { 206 } else if (strcasecmp(source, "VALUE") == 0) { 209 207 psTrace(__func__, 8, "Checking %s against camera format.\n", name); 210 208 if (! compareConcepts(cameraItem, formatted)) { … … 212 210 "format, but the values don't match.\n", name); 213 211 } 214 continue; 212 } else { 213 psLogMsg(__func__, PS_LOG_WARN, "Concept source %s isn't HEADER or VALUE --- can't " 214 "write\n", nameSource); 215 215 } 216 psLogMsg(__func__, PS_LOG_WARN, "Concept source %s isn't HEADER or VALUE --- can't " 217 "write\n", nameSource); 218 continue; 219 } 220 // Assume it's specified by value 221 if (! compareConcepts(cameraItem, formatted)) { 216 } else if (! compareConcepts(cameraItem, formatted)) { 217 // Assume it's specified by value 222 218 psLogMsg(__func__, PS_LOG_WARN, "Concept %s is specified by value in the camera " 223 219 "format, but the values don't match.\n", name); 224 220 } 221 psFree(formatted); 222 psFree(nameSource); 225 223 } 226 224 … … 232 230 } 233 231 234 232 // XXX: Needs the .DEPEND stuff 235 233 bool pmConceptsWriteToDefaults(psMetadata *specs, // The concept specifications 236 234 pmFPA *fpa, // The FPA … … 266 264 "format, but the values don't match.\n"); 267 265 } 266 psFree(formatted); 268 267 } 269 268 } … … 331 330 writeHeader(hdu, keyword, formatted); 332 331 } 332 psFree(formatted); 333 psFree(keywords); 333 334 } 334 335 }
Note:
See TracChangeset
for help on using the changeset viewer.
