[PATCHv3] debuginfod: Check result of calling MHD_add_response_header.
Mark Wielaard
mark@klomp.org
Wed Dec 8 22:14:30 GMT 2021
On Wed, Dec 08, 2021 at 10:46:29AM -0500, Frank Ch. Eigler via Elfutils-devel wrote:
> Hi -
>
> > > Why move the *size assignment in there?
> >
> > Because both statements are unnecessary if r == NULL (aka the response
> > couldn't even be created). [...]
> > But it is also harmless to do, so if you want I can move it outside the
> > if statement.
>
> OK, whichever, doesn't much matter then.
Pushed v3 as is.
Thanks,
Mark
More information about the Elfutils-devel
mailing list