/* -*-c-*-
*
- * $Id: client.c,v 1.3 2001/02/04 17:10:15 mdw Exp $
+ * $Id: client.c,v 1.4 2001/02/06 09:34:53 mdw Exp $
*
* Client for TrIPE
*
/*----- Revision history --------------------------------------------------*
*
* $Log: client.c,v $
+ * Revision 1.4 2001/02/06 09:34:53 mdw
+ * Change ERR response to FAIL for consistency with other programs.
+ *
* Revision 1.3 2001/02/04 17:10:15 mdw
* Reopen logfiles on receipt of @SIGHUP@ (not done very well). Don't
* change directory -- just mangle pathnames instead.
writelog("error", d.buf);
dstr_destroy(&d);
}
- } else if (strcmp(q, "ERR") == 0)
+ } else if (strcmp(q, "FAIL") == 0)
die(EXIT_FAILURE, "%s", p);
else if (strcmp(q, "INFO") == 0)
puts(p);