diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-08-15 09:46:23 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-08-15 09:46:23 +0000 |
commit | f926c361f9a436e4c0bd7d2eb2588f8d61264b15 (patch) | |
tree | 51c6e21ec1aed6c57b00ebc6c83a9c2010761060 /src/mod_compress.c | |
parent | 9238cad69ec65112d73d34da866fb6795c44b005 (diff) | |
download | lighttpd-git-f926c361f9a436e4c0bd7d2eb2588f8d61264b15.tar.gz |
..physical_path is gone and has ben replaced by subrequest_start
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@532 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_compress.c')
-rw-r--r-- | src/mod_compress.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mod_compress.c b/src/mod_compress.c index a0193f5c..a098ad6a 100644 --- a/src/mod_compress.c +++ b/src/mod_compress.c @@ -152,7 +152,7 @@ static int deflate_file_to_buffer_gzip(server *srv, connection *con, plugin_data unsigned char *c; unsigned long crc; z_stream z; - + UNUSED(srv); UNUSED(con); @@ -575,7 +575,6 @@ PHYSICALPATH_FUNC(mod_compress_physical) { mod_compress_patch_connection(srv, con, p); - max_fsize = p->conf.compress_max_filesize; stat_cache_get_entry(srv, con, con->physical.path, &sce); @@ -719,7 +718,7 @@ int mod_compress_plugin_init(plugin *p) { p->init = mod_compress_init; p->set_defaults = mod_compress_setdefaults; - p->handle_physical_path = mod_compress_physical; + p->handle_subrequest_start = mod_compress_physical; p->cleanup = mod_compress_free; p->data = NULL; |