Re: What about making a release?

Juliusz Chroboczek <[email protected]> Sat, 11 Jan 2014 00:41:26 +0100
Newsgroups gmane.comp.web.polipo.user
Message-ID <877ga7wgk9.wl%[email protected]>
> @@ -296,21 +305,28 @@
>      else
>          size = 96;
>  
> +    va_copy(args_revolving, args);
>      while(1) {
>          string = malloc(size);
> -        if(!string)
> +        if(!string) {
> +            va_end(args_revolving);
>              return NULL;
> -        va_copy(args_copy, args);
> -        n = vsnprintf(string, size, f, args_copy);
> -        if(n >= 0 && n < size)
> +        }
> +        va_copy(args_copy2, args_revolving);

Why is args_revolving needed?  Can't we work with args here?

-- Juliusz

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk