summaryrefslogtreecommitdiffstats
path: root/doc/http.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-07-04 14:45:19 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-07-04 14:45:19 (GMT)
commite5f7a7f23ddbcd485a524a6fd1f60c2f6787c794 (patch)
tree94204aa6e7eb0c629cb3f07f972124168ebd1e67 /doc/http.n
parent76681ff9cf616e99686fb280dc3e3f2b891334d9 (diff)
downloadtcl-e5f7a7f23ddbcd485a524a6fd1f60c2f6787c794.zip
tcl-e5f7a7f23ddbcd485a524a6fd1f60c2f6787c794.tar.gz
tcl-e5f7a7f23ddbcd485a524a6fd1f60c2f6787c794.tar.bz2
Remove over-wide lines from nroff output.
Diffstat (limited to 'doc/http.n')
-rw-r--r--doc/http.n8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/http.n b/doc/http.n
index f316153..afe7253 100644
--- a/doc/http.n
+++ b/doc/http.n
@@ -6,7 +6,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: http.n,v 1.24 2006/11/15 09:23:01 dkf Exp $
+'\" RCS: @(#) $Id: http.n,v 1.25 2007/07/04 14:45:19 dkf Exp $
'\"
.so man.macros
.TH "http" n 2.5 http "Tcl Bundled Packages"
@@ -179,10 +179,12 @@ of bytes read from the socket. Here is a template for the callback:
proc httpHandlerCallback {socket token} {
upvar #0 $token state
# Access socket, and state as a Tcl array
+ # For example...
...
- (example: set data [read $socket 1000];set nbytes [string length $data])
+ set data [read $socket 1000]
+ set nbytes [string length $data]
...
- return nbytes
+ return $nbytes
}
.CE
.RE