On 21 March 2013 20:14:04 Guilherme Maciel Ferreira <[email protected]> wrote:
Hi,

>> +#if ENABLE_FEATURE_WGET_LONG_OPTIONS
>> +       if (ENABLE_FEATURE_CLEAN_UP && G.extra_headers) {
>
>
> The idea behind these ENABLE defines was to increase preprocessor coverage.
> You should likely move the condition from CPP to c.

I not sure if I understood exactly what you mean here. Did you mean to
add the ENABLE_FEATURE_CLEAN_UP to the preprocessor condition, like
this:

#if ENABLE_FEATURE_WGET_LONG_OPTIONS && ENABLE_FEATURE_CLEAN_UP
        if (G.extra_headers) {
                free(G.extra_headers);
        }
#endif

No, the other way round:

or, on the other hand, by the second sentence I understood you meant
to do not use the preprocessor:

if (ENABLE_FEATURE_WGET_LONG_OPTIONS && ENABLE_FEATURE_CLEAN_UP &&
G.extra_headers) {
        free(G.extra_headers);
}

Exactly. Sorry that I wasn't clear.
TIA,


Sent with AquaMail for Android
http://www.aqua-mail.com


_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to