conformal/btcd — pull request #136 by carryforward (2014-06-09 04:49:22+00:00)
Title: Remove comments interpreted as settings

in go-flags/ini_private.go in function readIni there is no mechanism for adding inline comments. Only comments that have a semicolon as the first non-whitespace character are ignored.

According to Wikipedia http://en.wikipedia.org/wiki/INI_file#Comments inline comments are not universally supported.

This change adds some white space for readability, but name := strings.TrimSpace(line[1 : len(line)-1]) removes accidental whitespace left in later.