Re: [PATCH 2/3] Maŕk cgit_environment members const

Jason A. Donenfeld Jason at zx2c4.com
Thu Apr 4 16:17:21 CEST 2013


On Mon, Apr 1, 2013 at 5:11 PM, Lukas Fleischer <cgit at cryptocrack.de> wrote:
>  struct cgit_environment {
> -       char *cgit_config;
> -       char *http_host;
> -       char *https;
> -       char *no_http;
> -       char *path_info;
> -       char *query_string;
> -       char *request_method;
> -       char *script_name;
> -       char *server_name;
> -       char *server_port;
> +       const char *cgit_config;
> +       const char *http_host;
> +       const char *https;
> +       const char *no_http;
> +       const char *path_info;
> +       const char *query_string;
> +       const char *request_method;
> +       const char *script_name;
> +       const char *server_name;
> +       const char *server_port;
>  };

This is a very welcomed change. Thank you.




More information about the CGit mailing list