jmckaskill/go-capnproto — pull request #6 by glycerine (2013-12-03 21:20:57+00:00)
Title: handle empty segment more gracefully

Hi James,

I was getting a strange empty segment at one point, so I added this line. Not sure if it should be necessary. Would appreciate your thoughts on when total == 0 is allowable.

Jason