Changeset 213 in Main for trunk/Server
- Timestamp:
- Oct 3, 2024, 2:45:40 AM (6 weeks ago)
- Location:
- trunk/Server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/http.c
r212 r213 83 83 int i; 84 84 int len; 85 85 int n; 86 86 #ifndef USE_POLL 87 87 struct timeval tv; … … 344 344 free(req->path); 345 345 req->path = result; 346 346 347 347 incr = 0; 348 348 p = malloc(1); … … 354 354 cbuf[0] = oldc; 355 355 req->path[j] = 0; 356 356 357 357 pth = req->path + incr; 358 358 359 359 if(strcmp(pth, "..") == 0) { 360 360 int k; … … 376 376 free(tmp); 377 377 } 378 378 379 379 incr = j + 1; 380 380 if(oldc == 0) break; -
trunk/Server/main.c
r212 r213 63 63 #define STDERR_LOG(...) tt_printf(__VA_ARGS__) 64 64 #elif defined(_MSC_VER) 65 void STDERR_LOG(const char* format, ...) {65 void STDERR_LOG(const char* format, ...) { 66 66 va_list args; 67 67 va_start(args, format); -
trunk/Server/server.c
r212 r213 914 914 int i; 915 915 #ifndef USE_POLL 916 917 916 fd_set fdset; 917 struct timeval tv; 918 918 #endif 919 919 #if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER)
Note:
See TracChangeset
for help on using the changeset viewer.