diff --git a/ieproxy_darwin.go b/ieproxy_darwin.go index f634bd0..ab56b94 100644 --- a/ieproxy_darwin.go +++ b/ieproxy_darwin.go @@ -73,7 +73,7 @@ func writeConf() { } cfNumHttpsEnable := C.CFNumberRef(C.CFDictionaryGetValue(cfDictProxy, unsafe.Pointer(C.kCFNetworkProxiesHTTPSEnable))) - if unsafe.Pointer(cfNumHttpEnable) != C.NULL && cfNumberGetGoInt(cfNumHttpsEnable) > 0 { + if unsafe.Pointer(cfNumHttpsEnable) != C.NULL && cfNumberGetGoInt(cfNumHttpsEnable) > 0 { darwinProxyConf.Static.Active = true if darwinProxyConf.Static.Protocols == nil { darwinProxyConf.Static.Protocols = make(map[string]string)