From: Fabian Keil Date: Sun, 17 Jul 2011 13:36:48 +0000 (+0000) Subject: Add a comment about possibly questionable behaviour in accept_connection() X-Git-Tag: v_3_0_18~163 X-Git-Url: http://www.privoxy.org/gitweb/misc.html?a=commitdiff_plain;h=8b00c26ad7e2b8f15b9f4968fd2edfce9c2ec5e2;p=privoxy.git Add a comment about possibly questionable behaviour in accept_connection() --- diff --git a/jbsockets.c b/jbsockets.c index cdd7eb45..13d42829 100644 --- a/jbsockets.c +++ b/jbsockets.c @@ -1,4 +1,4 @@ -const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.105 2011/07/17 13:34:36 fabiankeil Exp $"; +const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.106 2011/07/17 13:36:27 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $ @@ -1120,6 +1120,7 @@ int accept_connection(struct client_state * csp, jb_socket fds[]) /* * Wait for a connection on any socket. * Return immediately if no socket is listening. + * XXX: Why not treat this as fatal error? */ FD_ZERO(&selected_fds); max_selected_socket = 0;