[PATCH 3 of 7] Mail: add ID to the 'ngx_mail_imap_default_capabilities' list
Maxim Dounin
mdounin at mdounin.ru
Fri Jan 17 04:11:28 UTC 2014
Hello!
On Tue, Jan 14, 2014 at 12:54:20PM +0100, Filipe da Silva wrote:
> # HG changeset patch
> # User Filipe da Silva <fdasilvayy at gmail.com>
> # Date 1389700241 -3600
> # Tue Jan 14 12:50:41 2014 +0100
> # Node ID 56df02d0dad9e7746fed311c88787fcb3ea902d7
> # Parent ece46b257e8d31a1a7a81bf5fcdd0271c1dc2318
> Mail: add ID to the 'ngx_mail_imap_default_capabilities' list.
>
> diff -r ece46b257e8d -r 56df02d0dad9 src/mail/ngx_mail_imap_module.c
> --- a/src/mail/ngx_mail_imap_module.c Tue Jan 14 12:50:30 2014 +0100
> +++ b/src/mail/ngx_mail_imap_module.c Tue Jan 14 12:50:41 2014 +0100
> @@ -18,6 +18,7 @@
>
>
> static ngx_str_t ngx_mail_imap_default_capabilities[] = {
> + ngx_string("ID"),
> ngx_string("IMAP4"),
> ngx_string("IMAP4rev1"),
> ngx_string("UIDPLUS"),
> @@ -122,7 +123,7 @@
>
> iscf->client_buffer_size = NGX_CONF_UNSET_SIZE;
>
> - if (ngx_array_init(&iscf->capabilities, cf->pool, 4, sizeof(ngx_str_t))
> + if (ngx_array_init(&iscf->capabilities, cf->pool, 5, sizeof(ngx_str_t))
> != NGX_OK)
> {
> return NULL;
> # HG changeset patch
> # User Filipe da Silva <fdasilvayy at gmail.com>
> # Date 1389700241 -3600
> # Tue Jan 14 12:50:41 2014 +0100
> # Node ID 56df02d0dad9e7746fed311c88787fcb3ea902d7
> # Parent ece46b257e8d31a1a7a81bf5fcdd0271c1dc2318
> Mail: add ID to the 'ngx_mail_imap_default_capabilities' list.
>
> diff -r ece46b257e8d -r 56df02d0dad9 src/mail/ngx_mail_imap_module.c
> --- a/src/mail/ngx_mail_imap_module.c Tue Jan 14 12:50:30 2014 +0100
> +++ b/src/mail/ngx_mail_imap_module.c Tue Jan 14 12:50:41 2014 +0100
> @@ -18,6 +18,7 @@
>
>
> static ngx_str_t ngx_mail_imap_default_capabilities[] = {
> + ngx_string("ID"),
> ngx_string("IMAP4"),
> ngx_string("IMAP4rev1"),
> ngx_string("UIDPLUS"),
I don't think that "ID" should be listed first.
> @@ -122,7 +123,7 @@
>
> iscf->client_buffer_size = NGX_CONF_UNSET_SIZE;
>
> - if (ngx_array_init(&iscf->capabilities, cf->pool, 4, sizeof(ngx_str_t))
> + if (ngx_array_init(&iscf->capabilities, cf->pool, 5, sizeof(ngx_str_t))
> != NGX_OK)
> {
> return NULL;
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
--
Maxim Dounin
http://nginx.org/
More information about the nginx-devel
mailing list