httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: svn commit: r1685052 - in /httpd/httpd/trunk: CHANGES modules/ssl/ssl_engine_config.c
Date Fri, 12 Jun 2015 12:17:01 GMT
On Fri, Jun 12, 2015 at 2:11 PM, Jeff Trawick <trawick@gmail.com> wrote:
>
> IMHO the  ap_retained_data_get/create APIs make this "nicer" than this older
> pattern.

Ah yes, good catch, I just did not think about it.

>
>     retained = ap_retained_data_get(userdata_key);
>     if (!retained) {
>         retained = ap_retained_data_create(userdata_key, sizeof(*retained))

Will change to use that instead in a follow up.
Unless the warning should be removed completely...

Mime
View raw message