summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 91982cc)
raw | patch | inline | side by side (parent: 91982cc)
author | Lubos Stanek <lubek@users.sourceforge.net> | |
Sat, 4 Nov 2006 12:14:11 +0000 (13:14 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 4 Nov 2006 12:14:11 +0000 (13:14 +0100) |
src/ntpd.c | patch | blob | history |
diff --git a/src/ntpd.c b/src/ntpd.c
index d65d1ed9e60c2e42c46bc6b404fe58559b162afa..520427095c27c300636167d13493d3845114afef 100644 (file)
--- a/src/ntpd.c
+++ b/src/ntpd.c
(items_num + pkt_item_num) * res_item_size);
items = realloc ((void *) *res_data,
(items_num + pkt_item_num) * res_item_size);
+ items_num += pkt_item_num;
if (items == NULL)
{
items = *res_data;