summaryrefslogtreecommitdiff
path: root/src/lib/http/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/http/server.go')
-rw-r--r--src/lib/http/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/http/server.go b/src/lib/http/server.go
index 43b4fb1fd..7aef82456 100644
--- a/src/lib/http/server.go
+++ b/src/lib/http/server.go
@@ -13,7 +13,7 @@ import (
"os";
"net";
"http";
- "strings"
+ "strconv";
)
// Serve a new connection.
@@ -39,7 +39,7 @@ func ServeConnection(fd net.Conn, raddr string, f *(*Conn, *Request)) {
export func Serve(l net.Listener, f *(*Conn, *Request)) *os.Error {
// TODO: Make this unnecessary
s, e := os.Getenv("GOMAXPROCS");
- if n, ok := strings.atoi(s); n < 3 {
+ if n, ok := strconv.atoi(s); n < 3 {
print("Warning: $GOMAXPROCS needs to be at least 3.\n");
}