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 | 63629d530766aeab8a7aff7fbaa3f8e2f7ab3676 (patch) | |
| tree | e56e302d8464f471652df4cd3c8950c7f0c32dac /src/lib/http | |
| parent | b3b3e0da94a421fe6f6cc1ad1daf7738ac154448 (diff) | |
| download | go-63629d530766aeab8a7aff7fbaa3f8e2f7ab3676.tar.xz | |
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 c452e2f5c3..d2e074d73d 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) } } |
