commit - e952c5052a0c524eee6d8151b1af96ce2c94ca18
commit + 89c110fe7befaee2b446873a351e0833c3c884b6
blob - da4bc187cec06f3acbc024273bb82a784901d51c
blob + 96247a4d71c333a40d84cb2b29c98477cafdbb3b
--- regress/fcgi-test.c
+++ regress/fcgi-test.c
#include <stdint.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
read_header(struct fcgi_header *hdr)
{
if (must_read(0, hdr, sizeof(*hdr)) == -1)
- errx(1, "must_read failed");
+ exit(1);
}
/* read and consume a record of the given type */