diff --git a/src/modules/files/sendfile.c b/src/modules/files/sendfile.c index bc195bc1106db797e9005ea07a72c2443d32bfd6..c5c69aaa36786cb0db19bb11cdb768b6a41354d4 100644 --- a/src/modules/files/sendfile.c +++ b/src/modules/files/sendfile.c @@ -1,5 +1,5 @@ /* - * $Id: sendfile.c,v 1.45 2000/08/19 11:45:27 grubba Exp $ + * $Id: sendfile.c,v 1.46 2000/10/06 21:11:24 grubba Exp $ * * Sends headers + from_fd[off..off+len-1] + trailers to to_fd asyncronously. * @@ -855,7 +855,7 @@ static void sf_create(INT32 args) if ((sf.trailers) && (sf.trailers->refs > 1)) { struct array *a = copy_array(sf.trailers); #ifdef PIKE_DEBUG - if ((sp[4-args].type != T_ARRAY) || (sp[4-args].u.array != sf.headers)) { + if ((sp[4-args].type != T_ARRAY) || (sp[4-args].u.array != sf.trailers)) { fatal("sendfile: Stack out of sync(4).\n"); } #endif /* PIKE_DEBUG */