From db305fc6f7333b747ec1cd2b33194a5949ca5d64 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Wed, 30 May 2001 20:16:23 +0000 Subject: [PATCH] small ws fix. --- ext/session/mod_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 477b0e80610..bf0c74338d7 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -288,7 +288,7 @@ PS_WRITE_FUNC(files) * the existing data set. */ - if (vallen < data->st_size) + if (vallen < data->st_size) ftruncate(data->fd, 0); #ifdef HAVE_PWRITE