Browse Source

Receive failures in recv_line should unconditionally fail.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
d835ef75d1
  1. 4
      util.c

4
util.c

@ -1128,10 +1128,10 @@ char *recv_line(struct pool *pool)
break; break;
case RECV_CLOSED: case RECV_CLOSED:
applog(LOG_DEBUG, "Socket closed waiting in recv_line"); applog(LOG_DEBUG, "Socket closed waiting in recv_line");
break; goto out;
case RECV_RECVFAIL: case RECV_RECVFAIL:
applog(LOG_DEBUG, "Failed to recv sock in recv_line"); applog(LOG_DEBUG, "Failed to recv sock in recv_line");
break; goto out;
} }
} }

Loading…
Cancel
Save