From 363954b76a53899e98618b53d76e959c82d287de Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Tue, 14 Jul 2009 21:40:02 +0000 Subject: [PATCH] New sentence, new line. Add RCS Id. Make HTML-ready. --- share/man/man9/accf_http.9 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/share/man/man9/accf_http.9 b/share/man/man9/accf_http.9 index aa705c6bd37..7bb196119a4 100644 --- a/share/man/man9/accf_http.9 +++ b/share/man/man9/accf_http.9 @@ -1,3 +1,4 @@ +.\" $NetBSD$ .\" .\" Copyright (c) 2000 Alfred Perlstein .\" @@ -42,14 +43,13 @@ to receive incoming HTTP connections. Once installed on a listening socket, this filter is activated when a connection becomes ready to receive data (at which point .Xr accept 2 -would usually return the connected descriptor to the application). The -filter prevents the descriptor from being returned immediately to the -application via +would usually return the connected descriptor to the application). +The filter prevents the descriptor from being returned immediately +to the application via .Xr accept 2 . The descriptor is made available to the application via .Xr accept 2 -only when -one of the following conditions is met: +only when one of the following conditions is met: .Bl -enum .It A complete, syntactically valid HTTP/1.0 or HTTP/1.1 HEAD or GET request has @@ -81,9 +81,9 @@ on the socket .Bd -literal -offset 0i struct accept_filter_arg afa; - bzero(&afa, sizeof(afa)); + bzero(\*[Am]afa, sizeof(afa)); strcpy(afa.af_name, "httpready"); - setsockopt(sok, SOL_SOCKET, SO_ACCEPTFILTER, &afa, sizeof(afa)); + setsockopt(sok, SOL_SOCKET, SO_ACCEPTFILTER, \*[Am]afa, sizeof(afa)); .Ed .Sh SEE ALSO .Xr setsockopt 2 , -- 2.11.4.GIT