Changeset 16593 for trunk/pstamp/src/pstamprequest.c
- Timestamp:
- Feb 21, 2008, 6:48:35 PM (18 years ago)
- Location:
- trunk/pstamp/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamprequest.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src
- Property svn:ignore
-
old new 1 1 ppstamp 2 pstampparse 3 pstamprequest 2 4 Makefile 3 5 Makefile.in
-
- Property svn:ignore
-
trunk/pstamp/src/pstamprequest.c
r16239 r16593 371 371 table->data[0] = options->md; 372 372 373 psFitsWriteTable(fitsFile, NULL, table, STAMP_REQUEST_EXTNAME); 374 375 psFitsClose(fitsFile); 373 if (!psFitsWriteTable(fitsFile, NULL, table, STAMP_REQUEST_EXTNAME)) { 374 psError(PS_ERR_IO, false, "failed to write fits table"); 375 return false; 376 } 377 378 if (! psFitsClose(fitsFile)) { 379 psError(PS_ERR_IO, false, "failed to close fits table"); 380 return false; 381 } 376 382 377 383 return true; … … 415 421 } 416 422 417 //psMetadataPrint(stderr, options->md, 0);423 // psMetadataPrint(stderr, options->md, 0); 418 424 419 425 if (writeTable(options)) { 420 426 return 0; 421 427 } else { 428 psErrorStackPrint(stderr, "failed to create request table"); 422 429 // XXX: we should have variable status codes that indicate what the problem was 423 430 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.
