mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
This was reported by Coverity as a potential issue. Passing by name is the example that curl uses so switch to that to quiet the warning. Also change to a static function and pre-declare it to quiet a compile-time warning. https://pagure.io/freeipa/issue/9274 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>