[BACK]Return to rup.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rup

Diff for /src/usr.bin/rup/rup.c between version 1.13 and 1.14

version 1.13, 2001/06/18 22:19:04 version 1.14, 2001/10/02 18:06:47
Line 139 
Line 139 
         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;

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14