diff options
author | Sterling Hughes <sterling@php.net> | 2001-05-30 20:16:23 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-05-30 20:16:23 +0000 |
commit | db305fc6f7333b747ec1cd2b33194a5949ca5d64 (patch) | |
tree | b6cc34c80fd1e0202e414687a2da62ea4b07edda /ext/session/mod_files.c | |
parent | 28160f73d0e976b4f4ee448de2129bcb83d9841f (diff) | |
download | php-git-db305fc6f7333b747ec1cd2b33194a5949ca5d64.tar.gz |
small ws fix.
Diffstat (limited to 'ext/session/mod_files.c')
-rw-r--r-- | ext/session/mod_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 477b0e8061..bf0c74338d 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 |