Difference for server/hiscore.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_hiscore_c =   * static char *rcsid_hiscore_c =
  *   "$Id: hiscore.c,v 1.4 2001/08/05 05:07:20 mwedel Exp $";   *   "$Id: hiscore.c,v 1.5 2001/10/30 00:49:02 michtoen Exp $";
  */   */
   
 /*  /*
Line 352
 
Line 352
  */   */
  strncpy(buf,scorebuf,MAX_BUF);   strncpy(buf,scorebuf,MAX_BUF);
  cp=buf;   cp=buf;
  while (strlen(cp)> maxchar) {   while (strlen(cp)> (size_t)maxchar) {
      bp = cp+maxchar-1;       bp = cp+maxchar-1;
      while (*bp != ' ' && bp>cp) bp--;       while (*bp != ' ' && bp>cp) bp--;
      *bp='\0';       *bp='\0';


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

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