summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40f1574)
raw | patch | inline | side by side (parent: 40f1574)
author | Florian Forster <ff@octo.it> | |
Fri, 5 May 2017 06:50:50 +0000 (08:50 +0200) | ||
committer | Florian Forster <ff@octo.it> | |
Fri, 5 May 2017 08:47:06 +0000 (10:47 +0200) |
src/liboping.c | patch | blob | history |
diff --git a/src/liboping.c b/src/liboping.c
index 31b88135cdc090827627325ddb52545572f66905..1738255c500cc9a653f2d1d5ceecc94c26d3c054 100644 (file)
--- a/src/liboping.c
+++ b/src/liboping.c
pinghost_t *host = NULL;
int recv_ttl;
uint8_t recv_qos;
-
+
/*
* Set up the receive buffer..
*/
retval = (int) random ();
dprintf ("Random number: %#x\n", retval);
-
+
return (retval);
}
for (ptr = ph; ptr != NULL; ptr = ptr->next)
if (ptr->latency < 0.0)
ptr->dropped++;
-
+
break;
}
}
}
#endif /* AI_CANONNAME */
-
} /* for (ai_ptr = ai_list; ai_ptr != NULL; ai_ptr = ai_ptr->ai_next) */
freeaddrinfo (ai_list);
obj->head = cur->next;
else
pre->next = cur->next;
-
+
target = cur;
pre = NULL;
-
+
cur = obj->table[target->ident % PING_TABLE_LEN];
while (cur != NULL)