fortify: clean up config loading
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
@@ -37,8 +37,7 @@ var (
|
||||
)
|
||||
|
||||
func ChangeHosts(mode, family C.uint8_t, address string) error {
|
||||
var c *C.xcb_connection_t
|
||||
c = C.xcb_connect(nil, nil)
|
||||
c := C.xcb_connect(nil, nil)
|
||||
defer C.xcb_disconnect(c)
|
||||
|
||||
if err := xcbHandleConnectionError(c); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user