aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/tcp.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tcp.txt b/docs/tcp.txt
index c867c6da9..766766387 100644
--- a/docs/tcp.txt
+++ b/docs/tcp.txt
@@ -31,7 +31,7 @@ Solution #1: block until sending is done:
31 */ 31 */
32 struct linger { 32 struct linger {
33 int l_onoff; /* linger active */ 33 int l_onoff; /* linger active */
34 int l_linger; /* how many seconds to linger for */ 34 int l_linger; /* how many seconds to linger for */
35 } linger; 35 } linger;
36 linger.l_onoff = 1; 36 linger.l_onoff = 1;
37 linger.l_linger = SOME_NUM; 37 linger.l_linger = SOME_NUM;