version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* 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 $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
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. |
*/ | | */ |