Skip to content
Snippets Groups Projects
  • Sean Bright's avatar
    e57961db
    res_config_ldap: Various code improvements · e57961db
    Sean Bright authored
    The initial motivation for this patch was to properly handle memory
    allocation failures - we weren't checking the return values from the
    various LDAP library allocation functions.
    
    In the process, because update_ldap() and update2_ldap() were
    substantially the same code, they've been consolidated.
    
    Change-Id: Iebcfe404177cc6860ee5087976fe97812221b822
    e57961db
    History
    res_config_ldap: Various code improvements
    Sean Bright authored
    The initial motivation for this patch was to properly handle memory
    allocation failures - we weren't checking the return values from the
    various LDAP library allocation functions.
    
    In the process, because update_ldap() and update2_ldap() were
    substantially the same code, they've been consolidated.
    
    Change-Id: Iebcfe404177cc6860ee5087976fe97812221b822
res_config_ldap.c 54.80 KiB