9d184a2 Pass the curl write callback by name instead of address

1 file Authored by rcritten a year ago, Committed by frenaud a year ago,
    Pass the curl write callback by name instead of address
    
    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>
    
        
file modified
+4 -2