Difference for common/init.c from version 1.42 to 1.43


version 1.42 version 1.43
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *   "$Id: init.c,v 1.42 2005/10/15 07:07:31 qal21 Exp $";   *   "$Id: init.c,v 1.43 2005/10/28 19:08:53 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 421
 
Line 421
      attack_mess[mess][level].level = atoi(buf);       attack_mess[mess][level].level = atoi(buf);
      p = strtok(NULL, "=");       p = strtok(NULL, "=");
      if (p != NULL)       if (p != NULL)
          attack_mess[mess][level].buf1 = strdup(p);           attack_mess[mess][level].buf1 = strdup_local(p);
      else       else
        attack_mess[mess][level].buf1 = strdup("");         attack_mess[mess][level].buf1 = strdup_local("");
      mode = 2;       mode = 2;
      continue;       continue;
  } else if (mode==2) {   } else if (mode==2) {
Line 431
 
Line 431
      attack_mess[mess][level].level = atoi(buf);       attack_mess[mess][level].level = atoi(buf);
      p = strtok(NULL, "=");       p = strtok(NULL, "=");
      if (p != NULL)       if (p != NULL)
          attack_mess[mess][level].buf2 = strdup(p);           attack_mess[mess][level].buf2 = strdup_local(p);
      else       else
          attack_mess[mess][level].buf2 = strdup("");           attack_mess[mess][level].buf2 = strdup_local("");
      mode = 3;       mode = 3;
      continue;       continue;
  } else if (mode==3) {   } else if (mode==3) {
Line 441
 
Line 441
      attack_mess[mess][level].level = atoi(buf);       attack_mess[mess][level].level = atoi(buf);
      p = strtok(NULL, "=");       p = strtok(NULL, "=");
      if (p != NULL)       if (p != NULL)
          attack_mess[mess][level].buf3 = strdup(p);           attack_mess[mess][level].buf3 = strdup_local(p);
      else       else
          attack_mess[mess][level].buf3 = strdup("");           attack_mess[mess][level].buf3 = strdup_local("");
      mode = 1;       mode = 1;
      level++;       level++;
      total++;       total++;


Legend:
line(s) removed in v.1.42 
line(s) changed
 line(s) added in v.1.43

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:07