summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2013-09-17 11:28:41 -0400
committerNathan Straz <nstraz@redhat.com>2013-09-17 11:28:41 -0400
commit79976cb5d469b04420b77079918569a0ac504dd7 (patch)
tree40fd5251fff9310f66c59bf450c6d2935b271e5c
parent87dcf2368a2ea72589791dcff2146a700db7d122 (diff)
downloadqarsh-79976cb5d469b04420b77079918569a0ac504dd7.tar.gz
qarsh-79976cb5d469b04420b77079918569a0ac504dd7.tar.xz
qarsh-79976cb5d469b04420b77079918569a0ac504dd7.zip
Remove host from hbeat struct
Since we keep a socket open we don't need this anymore and freeing it causes problems.
-rw-r--r--hbeat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hbeat.c b/hbeat.c
index a6350fa..c62aeba 100644
--- a/hbeat.c
+++ b/hbeat.c
@@ -35,7 +35,6 @@
struct hbeat_s {
- char *host;
int btime_sock;
int max_timeout;
hbeat_state_t rhost_state;
@@ -86,7 +85,6 @@ hbeat_free(hbeat_t hbh)
{
struct hbeat_s *hbeatp = hbh;
- free(hbeatp->host);
free(hbeatp);
}