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 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8c3f11e740867707fe9bb4848bc40d1f2ccebaa2;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;