chiark / gitweb /
Change ERR response to FAIL for consistency with other programs.
[tripe] / client.c
index ce1acb6520ab9f294c23ab571119e88f5dded4e6..270bbc23f7e70b717939846d53c05bf79eb08bc1 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1,6 +1,6 @@
 /* -*-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
  *
@@ -29,6 +29,9 @@
 /*----- 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.
@@ -161,7 +164,7 @@ static void cline(char *p, void *b)
       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);