- unify style

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1671 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.14
Elan Ruusamäe 2007-02-19 21:46:50 +00:00
parent 54d2d211f8
commit 40e8d326d1
1 changed files with 3 additions and 3 deletions

View File

@ -2367,7 +2367,7 @@ static int fcgi_demux_response(server *srv, handler_ctx *hctx) {
* check how much we have to read
*/
if (ioctl(hctx->fd, FIONREAD, &toread)) {
if( errno == EAGAIN ) return 0;
if (errno == EAGAIN) return 0;
log_error_write(srv, __FILE__, __LINE__, "sd",
"unexpected end-of-file (perhaps the fastcgi process died):",
fcgi_fd);
@ -2386,7 +2386,7 @@ static int fcgi_demux_response(server *srv, handler_ctx *hctx) {
/* append to read-buffer */
if (-1 == (r = read(hctx->fd, b->ptr, toread))) {
if( errno == EAGAIN ) {
if (errno == EAGAIN) {
/* roll back the last chunk allocation,
and continue on next iteration */
buffer_free(hctx->rb->last->mem);
@ -2407,7 +2407,7 @@ static int fcgi_demux_response(server *srv, handler_ctx *hctx) {
b->used = r + 1; /* one extra for the fake \0 */
b->ptr[b->used - 1] = '\0';
} else {
if( errno == EAGAIN ) return 0;
if (errno == EAGAIN) return 0;
log_error_write(srv, __FILE__, __LINE__, "ssdsb",
"unexpected end-of-file (perhaps the fastcgi process died):",
"pid:", proc->pid,