Browse Source

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 17 years ago
parent
commit
30e094f8d2
  1. 2
      src/connections.c

2
src/connections.c

@ -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