Skip to content
Snippets Groups Projects
Commit e72848c7 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#7305 fix comments in prev commit

parent b3c3d891
No related branches found
No related tags found
No related merge requests found
......@@ -1843,16 +1843,16 @@ slapi_pw_find(
return 1;
}
// Get connected client IP address.
//
// The user must free the returned client IP after its use.
// Compatible with IBM Tivoli call.
//
// Errors:
// * LDAP_PARAM_ERROR - If the pb parameter is null.
// * LDAP_OPERATIONS_ERROR - If the API encounters error processing the request.
// * LDAP_NO_MEMORY - Failed to allocate required memory.
/* Get connected client IP address.
*
* The user must free the returned client IP after its use.
* Compatible with IBM Tivoli call.
*
* Errors:
* * LDAP_PARAM_ERROR - If the pb parameter is null.
* * LDAP_OPERATIONS_ERROR - If the API encounters error processing the request.
* * LDAP_NO_MEMORY - Failed to allocate required memory.
*/
int
slapi_get_client_ip(Slapi_PBlock *pb, char **clientIP)
{
......@@ -1872,8 +1872,7 @@ slapi_get_client_ip(Slapi_PBlock *pb, char **clientIP)
return(LDAP_SUCCESS);
}
// Free previously allocated client IP address.
/* Free previously allocated client IP address. */
void
slapi_free_client_ip(char **clientIP)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment