[BACK]Return to log.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / atc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/games/atc/log.c between version 1.12 and 1.13

version 1.12, 2003/08/07 09:36:54 version 1.13, 2004/09/07 13:20:39
Line 180  log_score(list_em)
Line 180  log_score(list_em)
                 }                  }
                 strcpy(thisscore.name, pw->pw_name);                  strcpy(thisscore.name, pw->pw_name);
                 uname(&name);                  uname(&name);
                 strncpy(thisscore.host, name.nodename, sizeof(thisscore.host)-1);                  strlcpy(thisscore.host, name.nodename, sizeof(thisscore.host));
                 thisscore.host[sizeof(thisscore.host) - 1] = '\0';  
   
                 cp = strrchr(file, '/');                  cp = strrchr(file, '/');
                 if (cp == NULL) {                  if (cp == NULL) {

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

CVSweb <webmaster@jp.NetBSD.org>