From: Florian Forster Date: Sun, 25 Jun 2006 08:50:41 +0000 (+0200) Subject: Applied all the changes that `git-svnimport' missed. X-Git-Tag: collectd-3.9.1^0 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a073c1d52cc236c497f1a38c06433a70a7155616;p=collectd.git Applied all the changes that `git-svnimport' missed. --- 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;