]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix misleading package comment example
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 29 Sep 2014 19:24:06 +0000 (12:24 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 29 Sep 2014 19:24:06 +0000 (12:24 -0700)
Fixes #8607

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/146470043

src/net/net.go

index ca56af54fc6f899c4510934e7a3cb76177eecab5..cb31af5e347d109a5a065f053a45c4837a919c0f 100644 (file)
@@ -32,7 +32,6 @@ The Listen function creates servers:
                conn, err := ln.Accept()
                if err != nil {
                        // handle error
-                       continue
                }
                go handleConnection(conn)
        }