Changeset 73 in Main
- Timestamp:
- Sep 19, 2024, 6:35:56 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r72 r73 488 488 char* rpath = cm_strdup(path); 489 489 for(i = strlen(rpath) - 1; i >= 0; i--) { 490 if(rpath[i] != ':') { 490 if(rpath[i] == '/') { 491 int j; 492 for(j = i + 1; rpath[j] != 0; j++) { 493 if(rpath[j] == ':' || rpath[j] == '.') { 494 rpath[j] = 0; 495 break; 496 } 497 } 491 498 break; 492 499 } 493 rpath[i] = 0;494 500 } 495 501 for(i = 0; i < sizeof(reserved_names) / sizeof(reserved_names[0]); i++) {
Note:
See TracChangeset
for help on using the changeset viewer.