version 1.13, 2001/06/18 22:19:04 |
version 1.14, 2001/10/02 18:06:47 |
|
|
char *host; |
char *host; |
struct statstime *st; |
struct statstime *st; |
{ |
{ |
if (rup_data_idx >= rup_data_max) { |
if (rup_data_idx >= rup_data_max) { |
rup_data_max += 16; |
rup_data_max += 16; |
rup_data = realloc (rup_data, |
rup_data = realloc(rup_data, |
rup_data_max * sizeof(struct rup_data)); |
rup_data_max * sizeof(struct rup_data)); |
if (rup_data == NULL) { |
if (rup_data == NULL) { |
err (1, NULL); |
err(1, NULL); |
/* NOTREACHED */ |
/* NOTREACHED */ |
} |
} |
} |
} |
|
|
rup_data[rup_data_idx].host = strdup(host); |
rup_data[rup_data_idx].host = strdup(host); |
rup_data[rup_data_idx].statstime = *st; |
rup_data[rup_data_idx].statstime = *st; |