Fix bug in client error reporting.
authormdw <mdw>
Sun, 10 Apr 2005 17:53:27 +0000 (17:53 +0000)
committermdw <mdw>
Sun, 10 Apr 2005 17:53:27 +0000 (17:53 +0000)
pixie.c

diff --git a/pixie.c b/pixie.c
index 993b60f..95c6252 100644 (file)
--- a/pixie.c
+++ b/pixie.c
@@ -1055,7 +1055,7 @@ static void c_sline(char *s, size_t len, void *p)
   else {
     char *q = str_getword(&s);
     if (strcmp(q, "FAIL") == 0)
-      die(1, "%s", p);
+      die(1, "%s", s);
     else if (strcmp(q, "INFO") == 0 ||
             strcmp(q, "ITEM") == 0)
       puts(s);