Permalink
Browse files

Minor coding style fix

git-svn-id: svn://cherokee-project.com/cherokee/trunk@5346 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent a6a248c commit 6abecb3e03cd2348dde18e54a4ecb9e30702c90c @alobbs alobbs committed Aug 6, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 cherokee/handler_fcgi.c
View
@@ -592,9 +592,9 @@ send_post (cherokee_handler_fcgi_t *hdl,
cherokee_buffer_t *buf)
{
ret_t ret;
- int tmp;
- cherokee_connection_t *conn = HANDLER_CONN(hdl);
- static FCGI_Header empty_header = {0,0,0,0,0,0,0,0};
+ int prev_buf_len;
+ cherokee_connection_t *conn = HANDLER_CONN(hdl);
+ static FCGI_Header empty_header = {0,0,0,0,0,0,0,0};
switch (hdl->post_phase) {
case fcgi_post_phase_read:
@@ -638,14 +638,14 @@ send_post (cherokee_handler_fcgi_t *hdl,
TRACE (ENTRIES",post", "Post write, buf.len=%d (header len %d)\n", buf->len, sizeof(FCGI_Header));
if (! cherokee_buffer_is_empty (buf)) {
- tmp = buf->len;
+ prev_buf_len = buf->len;
ret = do_send (hdl, buf);
switch (ret) {
case ret_ok:
/* Did something, increase timeout
*/
- if (buf->len < tmp) {
+ if (buf->len < prev_buf_len) {
cherokee_connection_update_timeout (conn);
}

0 comments on commit 6abecb3

Please sign in to comment.