Fix crashbug with c not properly being set in heartbeat
Merge pull request #44 from gamelost/hbstatus

Fix crashbug with c not properly being set in heartbeat