Permalink
Browse files

minor code cleanup.

  • Loading branch information...
1 parent 74682b1 commit 947c7533975f9ef9686548aebe8dbc284de2e45f @agentzh agentzh committed Jul 31, 2012
Showing with 4 additions and 5 deletions.
  1. +3 −4 src/ngx_http_drizzle_keepalive.c
  2. +1 −1 util/build.sh
@@ -395,11 +395,10 @@ ngx_http_drizzle_keepalive_close_handler(ngx_event_t *ev)
item = c->data;
dscf = item->srv_conf;
- ngx_queue_remove(&item->queue);
-
- ngx_http_upstream_drizzle_free_connection(ev->log, item->connection,
- item->drizzle_con, dscf);
+ ngx_http_upstream_drizzle_free_connection(ev->log, c, item->drizzle_con,
+ dscf);
+ ngx_queue_remove(&item->queue);
ngx_queue_insert_head(&dscf->free, &item->queue);
}
View
@@ -9,7 +9,7 @@ force=$2
ngx-build $force $version \
- --with-ld-opt="-Wl,-rpath,$LIBDRIZZLE_LIB" \
+ --with-ld-opt="-Wl,-rpath,$LIBDRIZZLE_LIB:$LUAJIT_LIB" \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module \

0 comments on commit 947c753

Please sign in to comment.