Changeset 24 in Main for trunk/Server/config.c
- Timestamp:
- Sep 14, 2024, 11:09:58 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/config.c
r22 r24 83 83 config.root.dir_count = 0; 84 84 config.root.icon_count = 0; 85 config.root.index_count = 0; 85 86 config.vhost_count = 0; 86 87 config.module_count = 0; … … 182 183 current->mime_count = 0; 183 184 current->icon_count = 0; 185 current->index_count = 0; 184 186 int i; 185 187 current->name = cm_strdup(vhost); … … 282 284 break; 283 285 } 286 } 287 } else if(cm_strcaseequ(r[0], "DirectoryIndex")) { 288 for(i = 1; r[i] != NULL; i++) { 289 current->indexes[current->index_count++] = cm_strdup(r[i]); 284 290 } 285 291 } else {
Note:
See TracChangeset
for help on using the changeset viewer.