errWarn("PR_Accept");
if ((perr != PR_CONNECT_RESET_ERROR && perr != PR_PENDING_INTERRUPT_ERROR) || verbose) { errWarn("PR_Accept"); }
do_accepts(    PRFileDesc *listen_sock,    PRFileDesc *model_sock,    int         requestCert    ){    PRNetAddr   addr;    PRErrorCode  perr;    VLOG(("selfserv: do_accepts: starting"));    PR_SetThreadPriority( PR_GetCurrentThread(), PR_PRIORITY_HIGH);    while (!stopping) {	PRFileDesc *tcp_sock;	SECStatus   result;	FPRINTF(stderr, "\n\n\nselfserv: About to call accept.\n");	tcp_sock = PR_Accept(listen_sock, &addr, PR_INTERVAL_NO_TIMEOUT);	if (tcp_sock == NULL) {    	    perr      = PR_GetError();	    errWarn("PR_Accept");	    if (perr == PR_CONNECT_RESET_ERROR) {		FPRINTF(stderr, "Ignoring PR_CONNECT_RESET_ERROR error - continue\n");		continue;	    }	    break;	}        VLOG(("selfserv: do_accept: Got connection\n"));	result = launch_thread((bigBuf.data != NULL) ? 	                        handle_fdx_connection : handle_connection, 	                        tcp_sock, model_sock, requestCert);	if (result != SECSuccess) {	    PR_Close(tcp_sock);	    break;        }    }    fprintf(stderr, "selfserv: Closing listen socket.\n");    VLOG(("selfserv: do_accepts: exiting"));    PR_Close(listen_sock);    return SECSuccess;}