diff options
author | Russ Cox <rsc@golang.org> | 2009-05-08 10:14:55 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-05-08 10:14:55 -0700 |
commit | 8f5f70c7068188be12a52a9173f14f971e19b00b (patch) | |
tree | e56e302d8464f471652df4cd3c8950c7f0c32dac /src/lib/http | |
parent | ae8bf4bc4ab661b7f5d61e54ef1c285b1d72ae26 (diff) | |
download | golang-8f5f70c7068188be12a52a9173f14f971e19b00b.tar.gz |
minor cleanup, not required by compiler changes
R=r
DELTA=14 (1 added, 4 deleted, 9 changed)
OCL=28447
CL=28509
Diffstat (limited to 'src/lib/http')
-rw-r--r-- | src/lib/http/triv.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/http/triv.go b/src/lib/http/triv.go index c452e2f5c..d2e074d73 100644 --- a/src/lib/http/triv.go +++ b/src/lib/http/triv.go @@ -11,6 +11,7 @@ import ( "fmt"; "http"; "io"; + "log"; "net"; "os"; ) @@ -110,7 +111,7 @@ func main() { http.Handle("/chan", ChanCreate()); err := http.ListenAndServe(":12345", nil); if err != nil { - panic("ListenAndServe: ", err.String()) + log.Crash("ListenAndServe: ", err) } } |