From a073c1d52cc236c497f1a38c06433a70a7155616 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 25 Jun 2006 10:50:41 +0200 Subject: [PATCH] Applied all the changes that `git-svnimport' missed. --- src/liboping/liboping.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/liboping/liboping.c b/src/liboping/liboping.c index 7c094e94..a85de2e3 100644 --- a/src/liboping/liboping.c +++ b/src/liboping/liboping.c @@ -720,8 +720,7 @@ pingobj_t *ping_construct (void) if ((obj = (pingobj_t *) malloc (sizeof (pingobj_t))) == NULL) return (NULL); - - obj->head = NULL; + memset (obj, '\0', sizeof (pingobj_t)); obj->timeout = PING_DEF_TIMEOUT; obj->ttl = PING_DEF_TTL; -- 2.30.2