chiark / gitweb /
error/fatal/info -> disorder_error/fatal/info
[disorder] / libtests / t-cgi.c
index 109a38afa1d62287d74c3ccf28465ee3ade1350c..f6214953c3e7c6c0fbe9f38c4bb3ab5b967e2d5c 100644 (file)
@@ -26,7 +26,7 @@ static void input_from(const char *s) {
      || fputs("wibble wibble\r\nspong", fp) < 0 /* ensure CONTENT_LENGTH
                                                  * honored */
      || fflush(fp) < 0)
-    fatal(errno, "writing to temporary file");
+    disorder_fatal(errno, "writing to temporary file");
   rewind(fp);
   xdup2(fileno(fp), 0);
   lseek(0, 0/*offset*/, SEEK_SET);