Module Name:    src
Committed By:   wiz
Date:           Tue Jul 14 21:40:03 UTC 2009

Modified Files:
        src/share/man/man9: accf_http.9

Log Message:
New sentence, new line. Add RCS Id. Make HTML-ready.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man9/accf_http.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/accf_http.9
diff -u src/share/man/man9/accf_http.9:1.5 src/share/man/man9/accf_http.9:1.6
--- src/share/man/man9/accf_http.9:1.5	Tue Jul 14 21:37:50 2009
+++ src/share/man/man9/accf_http.9	Tue Jul 14 21:40:02 2009
@@ -1,3 +1,4 @@
+.\" $NetBSD: accf_http.9,v 1.6 2009/07/14 21:40:02 wiz Exp $
 .\"
 .\" Copyright (c) 2000 Alfred Perlstein
 .\"
@@ -42,14 +43,13 @@
 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 @@
 .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 ,

Reply via email to