Changeset 12793
- Timestamp:
- Apr 10, 2007, 3:49:46 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroArguments.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroArguments.c
r12547 r12793 8 8 if (argc == 1) { 9 9 psError(PSASTRO_ERR_ARGUMENTS, true, "No arguments supplied"); 10 psErrorStackPrint(stderr, "exit"); 10 11 return NULL; 11 12 } … … 15 16 if (config == NULL) { 16 17 psError(PSASTRO_ERR_CONFIG, false, "Can't read site configuration"); 18 psErrorStackPrint(stderr, "exit"); 17 19 return NULL; 18 20 } … … 59 61 if (!status) { 60 62 psError(PSASTRO_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)"); 63 psErrorStackPrint(stderr, "exit"); 61 64 return NULL; 62 65 } … … 64 67 if (argc != 2) { 65 68 psError(PSASTRO_ERR_ARGUMENTS, true, "Incorrect arguments supplied"); 69 psErrorStackPrint(stderr, "exit"); 66 70 return NULL; 67 71 }
Note:
See TracChangeset
for help on using the changeset viewer.
