diff options
-rw-r--r-- | hbeat.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,7 +117,8 @@ hbeat(hbeat_t hbh) /* quickly sanity check that we're getting the same * hbeat every time we ask for it */ - if (hbeatp->last_rhost_btime && hbeat != hbeatp->last_rhost_btime) { + if (hbeat && hbeatp->last_rhost_btime + && hbeat != hbeatp->last_rhost_btime) { hbeat2 = btime(hbeatp->host); if (hbeat != hbeat2) { fprintf(stderr, "Got conflicting hbeat times (%d and %d), discarding both\n", hbeat, hbeat2); |