Skip to content
Snippets Groups Projects
Commit 8c2f5bd2 authored by rswindell's avatar rswindell
Browse files

Changed index_file_name and cgi_ext member variables to dynamically allocated

arrays (by iniReadStringList), rather than statically allocated fixed length arrays.
Elimianted js_ext member variable (not used).
parent 142895fc
No related branches found
No related tags found
No related merge requests found
......@@ -73,13 +73,13 @@ typedef struct {
void (*reserved_fptr1)(void);
char reserved_filename[64];
char ssjs_ext[16]; /* Server-Side JavaScript file extension */
char js_ext[16]; /* Embedded JavaScript file extension */
char cgi_ext[10][16]; /* CGI Extensions */
char reserved_ext[16];
char** cgi_ext; /* CGI Extensions */
char ctrl_dir[128];
char root_dir[128];
char error_dir[128];
char cgi_temp_dir[128];
char index_file_name[4][128];
char** index_file_name; /* Index filenames */
char reserved_path5[128];
char reserved_path4[128];
char reserved_path3[128];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment