From 398e75a7889567eb1581581a624215dda9984ba9 Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Wed, 4 Feb 2015 01:48:53 -0800 Subject: [PATCH] Clarified phrasing --- hostess.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hostess.go b/hostess.go index 313f952..7b70806 100644 --- a/hostess.go +++ b/hostess.go @@ -59,14 +59,14 @@ func LooksLikeIpv6(ip string) bool { func parseLine(line string) []Hostname { hostnames := make([]Hostname, 0) - // Parse leading comment for disabled lines + // Parse leading # for disabled lines enabled := true if line[0:1] == "#" { enabled = false line = TrimWS(line[1:]) } - // Parse other comment for actual comments + // Parse other #s for actual comments line = strings.Split(line, "#")[0] // Replace tabs and multispaces with single spaces throughout