Browse Source

Move constant array into read-only memory

pull/3185/head
Dmitry Stogov 8 years ago
parent
commit
12baec3dfa
  1. 2
      sapi/cli/mime_type_map.h

2
sapi/cli/mime_type_map.h

@ -27,7 +27,7 @@ typedef struct php_cli_server_ext_mime_type_pair {
const char *mime_type;
} php_cli_server_ext_mime_type_pair;
static php_cli_server_ext_mime_type_pair mime_type_map[] = {
static const php_cli_server_ext_mime_type_pair mime_type_map[] = {
{ "ez", "application/andrew-inset" },
{ "aw", "application/applixware" },
{ "atom", "application/atom+xml" },

Loading…
Cancel
Save