summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimport/fetcher.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-12-11 01:36:36 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-12-11 01:36:36 (GMT)
commit4d1fa3997cdc5c98e25008fcbdde84e47901a254 (patch)
tree27abeee0bcd85f209eaa6c6aad0985cdf1f03694 /src/helsinki.at/rhimport/fetcher.go
parenta454be72ed140ff2bf3e4338794885cde5fb9f58 (diff)
minor code refactoring
Diffstat (limited to 'src/helsinki.at/rhimport/fetcher.go')
-rw-r--r--src/helsinki.at/rhimport/fetcher.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/helsinki.at/rhimport/fetcher.go b/src/helsinki.at/rhimport/fetcher.go
index 03cf3da..ccbca43 100644
--- a/src/helsinki.at/rhimport/fetcher.go
+++ b/src/helsinki.at/rhimport/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 {