X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/454b204000d870c9fa74a13e997964fe3f01edfa..b477ac40aba0485d1daf8b20adf62002cd274203:/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);