Fully fixed conf parsing

This commit is contained in:
Caleb Gardner
2021-09-21 06:29:22 -05:00
parent 8494ce672b
commit e2171e2c03
+1
View File
@@ -151,6 +151,7 @@ func parseConf() (links map[int]link, err error) {
if err != nil {
return nil, errors.New("invalid line #" + strconv.Itoa(lineNum))
}
l.addr = split[1]
links[i] = l
line = ""
}