Difference for server/time.c from version 1.77 to 1.78


version 1.77 version 1.78
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_time_c =   * static char *rcsid_time_c =
  *    "$Id: time.c,v 1.77 2005/10/18 16:54:31 gros Exp $";   *    "$Id: time.c,v 1.78 2005/10/28 23:43:31 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 1044
 
Line 1044
  return;   return;
     for (tmp=op->above; tmp != NULL; tmp=tmp->above) {      for (tmp=op->above; tmp != NULL; tmp=tmp->above) {
  if (strcmp(op->other_arch->name, tmp->arch->name) == 0) {   if (strcmp(op->other_arch->name, tmp->arch->name) == 0) {
      if (op->level == 0) {       if (op->level <= 0) {
  remove_ob(tmp);   remove_ob(tmp);
  free_object(tmp);   free_object(tmp);
      } else {       } else {
  tmp->nrof *= op->level;   uint64 new_nrof = (uint64)tmp->nrof*op->level;
    if (new_nrof >= 1UL<<31)
        new_nrof = 1UL<<31;
    tmp->nrof = new_nrof;
      }       }
      break;       break;
  }   }


Legend:
line(s) removed in v.1.77 
line(s) changed
 line(s) added in v.1.78

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