Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 432ad769521704fe91f8801cc878842c68e0ad0c
      
https://github.com/btcsuite/btcd/commit/432ad769521704fe91f8801cc878842c68e0ad0c
  Author: Tadge Dryja <[email protected]>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M server.go

  Log Message:
  -----------
  fix memory allignment for 32-bit architectures (#668)

having 3 int32s above the uint64s in the struct
will cause misalignment for some 32-bit architectures.
see https://golang.org/pkg/sync/atomic/#pkg-note-BUG
This aligns bytesReceived and bytesSent.


Reply via email to