Browse Source

Add comment regarding use of read_socket_line in generator and !cs.

master
Con Kolivas 8 years ago
parent
commit
1a3674526d
  1. 3
      src/generator.c

3
src/generator.c

@ -2340,7 +2340,8 @@ static void *proxy_recv(void *arg)
}
/* Parse any other messages already fully buffered with a zero
* timeout. */
* timeout. This might call read_socket_line with cs == NULL
* but it can gracefully handle that. */
while (message || read_socket_line(cs, &timeout) > 0) {
message = false;
timeout = 0;

Loading…
Cancel
Save