Difference for server/resurrection.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_resurrection_c =   * static char *rcsid_resurrection_c =
  *   "$Id: resurrection.c,v 1.15 2005/08/12 13:46:34 ryo_saeba Exp $";   *   "$Id: resurrection.c,v 1.16 2005/09/04 16:58:13 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 260
 
Line 260
     strcpy(newname,filename);      strcpy(newname,filename);
     strcat(newname,".dead");      strcat(newname,".dead");
   
     if(!rename(filename,newname)) {      if(rename(filename,newname) != 0) {
  perror(filename);   LOG(llevError, "Cannot rename dead player's file %s into %s: %s\n", filename, newname, strerror_local(errno));
  perror(newname);  
     }      }
 }  }
   
Line 277
 
Line 276
     strcpy(buf2,buf);      strcpy(buf2,buf);
     strcat(buf,".dead");      strcat(buf,".dead");
     if(rename(buf2,buf)== -1){      if(rename(buf2,buf)== -1){
  LOG(llevDebug, "Crossfire character rename to dead: %s --", buf);   LOG(llevError, "Cannot rename dead player's file %s into %s: %s\n", buf2, buf, strerror_local(errno));
  perror("rename()");  
     }      }
 }  }
   


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

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