X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..005ca69772d476116a262981090fde24162a1341:/libtests/t-cgi.c diff --git a/libtests/t-cgi.c b/libtests/t-cgi.c index 109a38a..f94ebd9 100644 --- a/libtests/t-cgi.c +++ b/libtests/t-cgi.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2008 Richard Kettlewell + * Copyright (C) 2008, 2009 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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);