complain about the right plugin not cleaning up

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@614 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.2
Jan Kneschke 18 years ago
parent 9db5407390
commit 30e094f8d2

@ -703,7 +703,7 @@ int connection_reset(server *srv, connection *con) {
/* the plugins should cleanup themself */
for (i = 0; i < srv->plugins.used; i++) {
if (con->plugin_ctx[i] != NULL) {
if (con->plugin_ctx[i + 1] != NULL) {
log_error_write(srv, __FILE__, __LINE__, "sb", "missing cleanup in", ((plugin **)(srv->plugins.ptr))[i]->name);
}

Loading…
Cancel
Save