From 17d3abc90a7d98f3bce4e3527a0ff93f5a192e69 Mon Sep 17 00:00:00 2001 From: Justin Reichardt Date: Thu, 9 Dec 2021 18:06:23 -0600 Subject: [PATCH] Corrected cfgparse return values Accidentally changed the return value to not return anything ever --- src/rhosts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rhosts.go b/src/rhosts.go index 8896cc2..a6a8fc9 100644 --- a/src/rhosts.go +++ b/src/rhosts.go @@ -129,7 +129,7 @@ func cfgparse (cfgloc string) ([]string, []string, error){ log.Print(err) return nil, nil, err } - return nil, nil, err + return sites, downloads, err } func cfgparseline(buf string) (uint8, string){ // State options