Browse files

Bug-fix: Some events were not forwarded properly - not big deal.

git-svn-id: svn://cherokee-project.com/cherokee/trunk@5398 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent 7c914d1 commit 267be32fff1745c2bddbb7267df507639e89adca @alobbs alobbs committed Aug 17, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 cherokee/handler_file.c
View
3 cherokee/handler_file.c
@@ -766,8 +766,9 @@ cherokee_handler_file_step (cherokee_handler_file_t *fhdl, cherokee_buffer_t *bu
goto exit_sendfile;
}
- if (ret < ret_ok)
+ if (ret != ret_ok) {
return ret;
+ }
/* This connection is not using the cherokee_connection_send() method,
* so we have to update the connection traffic counter here.

0 comments on commit 267be32

Please sign in to comment.