mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 16:41:19 +00:00
Save a few bytes of memory in mod_autoindex
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1882231 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -113,8 +113,8 @@ struct item {
|
|||||||
typedef struct ai_desc_t {
|
typedef struct ai_desc_t {
|
||||||
char *pattern;
|
char *pattern;
|
||||||
char *description;
|
char *description;
|
||||||
int full_path;
|
unsigned int full_path : 1;
|
||||||
int wildcards;
|
unsigned int wildcards : 1;
|
||||||
} ai_desc_t;
|
} ai_desc_t;
|
||||||
|
|
||||||
typedef struct autoindex_config_struct {
|
typedef struct autoindex_config_struct {
|
||||||
@ -753,9 +753,11 @@ struct ent {
|
|||||||
apr_off_t size;
|
apr_off_t size;
|
||||||
apr_time_t lm;
|
apr_time_t lm;
|
||||||
struct ent *next;
|
struct ent *next;
|
||||||
int ascending, ignore_case, version_sort;
|
unsigned int ascending : 1;
|
||||||
|
unsigned int ignore_case : 1;
|
||||||
|
unsigned int version_sort : 1;
|
||||||
|
unsigned int isdir : 1;
|
||||||
char key;
|
char key;
|
||||||
int isdir;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *find_item(const char *content_type, const char *content_encoding,
|
static char *find_item(const char *content_type, const char *content_encoding,
|
||||||
|
Reference in New Issue
Block a user