From 39481d50e0f184e8be4140f19a4e53edfc8f1c76 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 23 Jun 2012 05:49:02 -0700 Subject: [PATCH] ITS#7305 fix comments in prev commit --- servers/slapd/slapi/slapi_utils.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index 5811f54601..db16ade9c9 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -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) { -- 2.39.5