summaryrefslogtreecommitdiff
path: root/fetcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'fetcher.go')
-rw-r--r--fetcher.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/fetcher.go b/fetcher.go
index 03cf3da..ccbca43 100644
--- a/fetcher.go
+++ b/fetcher.go
@@ -150,9 +150,7 @@ var (
}
)
-func init() {
- curl.GlobalInit(curl.GLOBAL_ALL)
-
+func fetcher_init() {
info := curl.VersionInfo(curl.VERSION_FIRST)
protos := info.Protocols
for _, proto := range protos {