- Timestamp:
- Oct 17, 2024, 9:47:01 AM (4 weeks ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/dir.c
r315 r364 70 70 return r; 71 71 #else 72 DIR* dir = opendir(path); 72 char* fxpath = cm_strcat(path, "/"); 73 DIR* dir = opendir(fxpath); 73 74 if(dir != NULL) { 74 75 char** r = malloc(sizeof(*r)); … … 109 110 110 111 closedir(dir); 112 free(fxpath); 111 113 112 114 return r; 113 115 } else { 116 free(fxpath); 114 117 return NULL; 115 118 } -
trunk/Server/server.c
r361 r364 974 974 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) 975 975 #ifdef __NETWARE__ 976 ExitThread(EXIT_THREAD, 0); 976 977 #elif defined(__DOS__) 977 978 #else
Note:
See TracChangeset
for help on using the changeset viewer.