Skip to content

Commit

Permalink
cosmetic fix for fastcgi
Browse files Browse the repository at this point in the history
  • Loading branch information
unbit committed Jun 15, 2013
1 parent 3eb5ec3 commit b3e4ff8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions proto/fastcgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,9 @@ ssize_t uwsgi_proto_fastcgi_read_body(struct wsgi_request *wsgi_req, char *buf,
wsgi_req->proto_parser_buf = tmp_buf;
wsgi_req->proto_parser_buf_size += fcgi_all_len - (wsgi_req->proto_parser_buf_size - wsgi_req->proto_parser_pos);
}
if (!has_read) {
goto gather;
}
else {
errno = EAGAIN;
return -1;
}
if (!has_read) goto gather;
errno = EAGAIN;
return -1;
}
else {
gather:
Expand Down

0 comments on commit b3e4ff8

Please sign in to comment.