Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: ddc773535a7ace14c78d61ea15d3e9143379302e
      
https://github.com/conformal/btcd/commit/ddc773535a7ace14c78d61ea15d3e9143379302e
  Author: Brian Deery <[email protected]>
  Date:   2014-06-09 (Mon, 09 Jun 2014)

  Changed paths:
    M sample-btcd.conf

  Log Message:
  -----------
  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.

Closes #135.


Reply via email to