chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support global prefs through eclient interface.
[disorder]
/
libtests
/
t-cgi.c
diff --git
a/libtests/t-cgi.c
b/libtests/t-cgi.c
index 109a38afa1d62287d74c3ccf28465ee3ade1350c..f6214953c3e7c6c0fbe9f38c4bb3ab5b967e2d5c 100644
(file)
--- a/
libtests/t-cgi.c
+++ b/
libtests/t-cgi.c
@@
-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)
|| 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);
rewind(fp);
xdup2(fileno(fp), 0);
lseek(0, 0/*offset*/, SEEK_SET);