aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/net/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/conf.go')
-rw-r--r--libgo/go/net/conf.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/net/conf.go b/libgo/go/net/conf.go
index c92e579d7e6..ddaa978f4f6 100644
--- a/libgo/go/net/conf.go
+++ b/libgo/go/net/conf.go
@@ -9,7 +9,6 @@ package net
import (
"os"
"runtime"
- "strconv"
"sync"
"syscall"
)
@@ -293,7 +292,7 @@ func goDebugNetDNS() (dnsMode string, debugLevel int) {
return
}
if '0' <= s[0] && s[0] <= '9' {
- debugLevel, _ = strconv.Atoi(s)
+ debugLevel, _, _ = dtoi(s, 0)
} else {
dnsMode = s
}