Changeset 117 in Main for trunk/Server/server.c
- Timestamp:
- Sep 21, 2024, 5:47:51 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r116 r117 457 457 458 458 int i; 459 for(i = 0; req.headers[i] != NULL; i += 2) {460 if(cm_strcaseequ(req.headers[i], "User-Agent")) {459 for(i = 0; req.headers[i] != NULL; i += 2) { 460 if(cm_strcaseequ(req.headers[i], "User-Agent")) { 461 461 free(useragent); 462 462 useragent = cm_strdup(req.headers[i + 1]);
Note:
See TracChangeset
for help on using the changeset viewer.