-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is literally directly copied from the go standard library and
thus our style should defer to theirs.

On 03/24/2014 11:42 AM, DavidVorick wrote:
> In src/common/log/record.go:
> 
>> +		// Assume RAM not ECC, not really a major error +		buf =
>> append(buf, "[UNKNOWN] "...) +	} +	// Write the whole filepath
>> because no options (yet) +	buf = append(buf, r.file...) +	buf =
>> append(buf, ':') +	buf = append(buf, itoa(r.line, 0)...) +	buf =
>> append(buf, ": "...) +	// Write the message! +	buf = append(buf,
>> r.message...) +	// Add a newline if not included +	if len(buf) >
>> 0 && buf[len(buf)-1] != '\n' { +		buf = append(buf, '\n') +	} +
>> return buf +}
> 
> This function could be organized better.
> 
> Mostly, just adding newlines would be enough. For example, add a
> newline between lines 96 and 97 to break apart the ideas. Same
> thing between lines 79 and 80, and maybe also one separating date
> and time.
> 
> When it's broken into smaller chunks, the code is easier to scan
> and follow
> 
> — Reply to this email directly or view it on GitHub 
> <https://github.com/Siacoin/Sia/pull/48/files#r10889993>.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTMFzZAAoJEHP1nN3uZoHuQ7cH+gIjVhPn2L5P/ldWAB8SWqXg
oc2sahKQKRAumSdwLzJCts3zyTDohFulL4OzbNz1ib5nBLlEBSRlKhE8cTt+vQL1
uLGZud8epZSpyRDPWuiiMOAfJ6LxACTA719CqIOHhrQQfAOmQExx4B+40wwsveOX
FX4EhLbpY9B+7bqUzW1UFgKd1LUrl3q+yC0phDsmiKRGgBiNmlFJANaGGjMX3QEb
EkI3pY4Qvk6duhv00rcyv9hZshVLV22t78ihxOVr6+h3zKyFvGaHcxgV9kjjnhAS
wn43OAS1ZeU2H+a76aFnIpJJA3dLjmNDvPn+9ftDspnza3WtRtvPuJXyyMGBk+A=
=58BZ
-----END PGP SIGNATURE-----