From 43f9db638db29217fce19478e086b5bea0a78ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 6 Oct 2000 23:11:24 +0200 Subject: [PATCH] Bugfix. Rev: src/modules/files/sendfile.c:1.46 --- src/modules/files/sendfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/files/sendfile.c b/src/modules/files/sendfile.c index bc195bc110..c5c69aaa36 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 */ -- GitLab