diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-02-28 10:38:16 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-02-28 10:38:16 +0000 |
commit | 75fae49e37c61411edb5805322d56ce97bbe0587 (patch) | |
tree | 4064734717e30adb264a420e392e45ca5ebe8a85 /src/mod_ssi.c | |
parent | d9fd24a0f7ded6e6e55bd3050d997b3133d1a9f4 (diff) | |
download | lighttpd-git-75fae49e37c61411edb5805322d56ce97bbe0587.tar.gz |
* If sizeof(long) == sizeof(off_t), buffer_{append,copy}_off_t()
are only macros to buffer_{append,copy}_long()
* ltostr() returns the string length instead of always 0
* Don't check return value of buffer_prepare_append(buffer *b), since
it only returns -1 if b == NULL, which we do a few lines above anyway.
* Improved buffer_path_simplify(). No "dot_stack" required anymore.
Operation can also be performed inplace.
* Check errno also against EACCES at pidfile-unlink for not logging
a "Permission denied".
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@54 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_ssi.c')
-rw-r--r-- | src/mod_ssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_ssi.c b/src/mod_ssi.c index 038c08e6..3834f553 100644 --- a/src/mod_ssi.c +++ b/src/mod_ssi.c @@ -527,7 +527,7 @@ static int process_ssi_stmt(server *srv, connection *con, plugin_data *p, } buffer_urldecode(p->stat_fn); - buffer_path_simplify(&(srv->dot_stack), srv->tmp_buf, p->stat_fn); + buffer_path_simplify(srv->tmp_buf, p->stat_fn); /* we have an uri */ |