Simplification of AutoPacket::Put
Add explicit braces to avoid dangling else

This was causing a warning
Merge pull request #233 from leapmotion/ref-autopacketput

Simplification of AutoPacket::Put