*/
for (compnum = 1, state = FLD2;;) {
switch (state = m_getfld2(state, &f, in)) {
*/
for (compnum = 1, state = FLD2;;) {
switch (state = m_getfld2(state, &f, in)) {
- adios(EX_DATAERR, NULL, "message format error in component #%d",
- compnum);
+ adios(EX_IOERR, "m_getfld2", "io error");
default:
adios(EX_SOFTWARE, NULL, "getfld() returned %d", state);
default:
adios(EX_SOFTWARE, NULL, "getfld() returned %d", state);
** one, return the entire value. Note that, for example, a name_suffix
** of name will match filename="foo", and return foo.
*/
** one, return the entire value. Note that, for example, a name_suffix
** of name will match filename="foo", and return foo.
*/
extract_name_value(char *name_suffix, char *value) {
char *extracted_name_value = value;
char *name_suffix_plus_quote = concat(name_suffix, "=\"", NULL);
extract_name_value(char *name_suffix, char *value) {
char *extracted_name_value = value;
char *name_suffix_plus_quote = concat(name_suffix, "=\"", NULL);