e388c9c Resolves: bug 245396

Authored and Committed by rmeggins 16 years ago
    Resolves: bug 245396
    Bug Description: adminutil: retrieveISIEs returns bogus data
    Reviewed by: nkinder (Thanks!)
    Fix Description: retrieveISIEs creates a list of id + DN pairs using
    the ListNodePtr interface.  Each node has a name (the id) and a value
    (a char ** with the DN as the first char *) and forms a linked list of
    all of the values.  It then flattens the list into an array of name/value
    pairs for returning.  However, instead of passing val[0] to the
    addSingleValueAttribute() function for the value, it was passing val cast
    to a (char *), which is entirely bogus.
    The fix is to pass in ((char**)node->val)[0] which is a char * value.  Yet
    another lesson in why void * is bad, and why you should not defeat the
    compiler's type checker . . .
    I also fixed another minor mem leak, and added @nss_inc@ to the list of include directories - I guess it works because pkg-config mozldap[6] always returns the
    nss include directory in its output . . .
    Platforms tested: RHEL4
    Flag day: Yes - autotool file changes
    
        
file modified
+2 -2
file modified
+2 -2
file modified
+1 -1
file modified
+16 -7