c79e5f2 CLIENT: Reduce code duplication

Authored and Committed by lslebodn 8 years ago
    CLIENT: Reduce code duplication
    
    Patch for #2626 will be simpler with this small refactoring
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    (cherry picked from commit a452d199bc125e8d53033d7c00383b4a275ab85e)
    
        
file modified
+27 -31