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


version 1.5 version 1.6
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_server_c =   * static char *rcsid_server_c =
  *    "$Id: server.c,v 1.5 2006/08/12 19:38:23 qal21 Exp $";   *    "$Id: server.c,v 1.6 2006/08/23 21:24:59 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 741
 
Line 741
         */          */
         mapstruct *newmap;          mapstruct *newmap;
         if (exit_ob->map) {          if (exit_ob->map) {
             newmap = ready_map_name(path_combine_and_normalize(exit_ob->map->path, EXIT_PATH(exit_ob)), 0);              char tmp_path[HUGE_BUF];
               tmp_path[0] = '\0';
               strncpy(tmp_path, path_combine_and_normalize(exit_ob->map->path, EXIT_PATH(exit_ob)), HUGE_BUF);
               tmp_path[HUGE_BUF - 1] = '\0';
               newmap = ready_map_name(tmp_path, 0);
             /* Random map was previously generated, but is no longer about.  Lets generate a new              /* Random map was previously generated, but is no longer about.  Lets generate a new
              * map.               * map.
              */               */


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:44