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


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_hiscore_c =   * static char *rcsid_hiscore_c =
  *   "$Id: hiscore.c,v 1.5 2001/10/30 00:49:02 michtoen Exp $";   *   "$Id: hiscore.c,v 1.6 2001/10/30 02:30:20 michtoen Exp $";
  */   */
   
 /*  /*
Line 352
 
Line 352
  */   */
  strncpy(buf,scorebuf,MAX_BUF);   strncpy(buf,scorebuf,MAX_BUF);
  cp=buf;   cp=buf;
  while (strlen(cp)> (size_t)maxchar) {   while (strlen(cp)> 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.5 
line(s) changed
 line(s) added in v.1.6

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