diff options
author | Stefan Fritsch <sf@apache.org> | 2011-06-20 21:06:27 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-06-20 21:06:27 +0200 |
commit | d85204f752c83a5a5191fb74a65928e47ded1981 (patch) | |
tree | a738a81b2cbbf7224660e311a7e5bbe00469e513 /server/mpm | |
parent | Rename MaxClients to MaxRequestWorkers which describes more accurately what (diff) | |
download | apache2-d85204f752c83a5a5191fb74a65928e47ded1981.tar.xz apache2-d85204f752c83a5a5191fb74a65928e47ded1981.zip |
Remove dead assignment, as pointed out by Chris Wilson <cwilson vigilantsw com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1137748 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm')
-rw-r--r-- | server/mpm/event/event.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 03fef9a2fc..84deaa7d6f 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -787,7 +787,6 @@ static int process_socket(apr_thread_t *thd, apr_pool_t * p, apr_socket_t * sock int my_thread_num) { conn_rec *c; - listener_poll_type *pt; long conn_id = ID_FROM_CHILD_THREAD(my_child_num, my_thread_num); int rc; ap_sb_handle_t *sbh; @@ -795,11 +794,8 @@ static int process_socket(apr_thread_t *thd, apr_pool_t * p, apr_socket_t * sock ap_create_sb_handle(&sbh, p, my_child_num, my_thread_num); if (cs == NULL) { /* This is a new connection */ - + listener_poll_type *pt = apr_pcalloc(p, sizeof(*pt)); cs = apr_pcalloc(p, sizeof(conn_state_t)); - - pt = apr_pcalloc(p, sizeof(*pt)); - cs->bucket_alloc = apr_bucket_alloc_create(p); c = ap_run_create_connection(p, ap_server_conf, sock, conn_id, sbh, cs->bucket_alloc); @@ -845,7 +841,6 @@ static int process_socket(apr_thread_t *thd, apr_pool_t * p, apr_socket_t * sock else { c = cs->c; c->sbh = sbh; - pt = cs->pfd.client_data; c->current_thread = thd; } |