From c114890119580a017aa4c075c82553ab7764bcfb Mon Sep 17 00:00:00 2001 From: leitner Date: Fri, 2 Nov 2007 00:43:43 +0000 Subject: [PATCH] *cough* --- socket/socket_deferaccept.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket/socket_deferaccept.c b/socket/socket_deferaccept.c index 3c33f99..fef2960 100644 --- a/socket/socket_deferaccept.c +++ b/socket/socket_deferaccept.c @@ -15,6 +15,6 @@ void socket_deferaccept(int s,enum defermode mode) { struct accept_filter_arg afa; memset(&afa,0,sizeof(afa)); strcpy(afa.af_name,mode==HTTPIN?"httpreader":"dataready"); - setsockopt(sok, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa)); + setsockopt(s, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa)); #endif }