From: Pekka Riikonen Date: Thu, 31 Oct 2002 21:29:29 +0000 (+0000) Subject: Clarified comments. X-Git-Tag: silc.server.0.9.8~28 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=6b34b2110e4cbf9ddf368c1c51aa9e5360cbd408 Clarified comments. --- diff --git a/lib/silcutil/silcnet.h b/lib/silcutil/silcnet.h index 16499098..26e00454 100644 --- a/lib/silcutil/silcnet.h +++ b/lib/silcutil/silcnet.h @@ -400,7 +400,8 @@ SilcUInt16 silc_net_get_local_port(int sock); * * Return name of localhost. This will also attempt to resolve * the real hostname by the local host's IP address. If unsuccessful - * the first found hostname is returned. + * the first found hostname is returned. The caller must free + * returned hostname. * ***/ char *silc_net_localhost(void); @@ -413,7 +414,7 @@ char *silc_net_localhost(void); * * DESCRIPTION * - * Return IP of localhost. + * Return IP of localhost. The caller must free the returned IP. * ***/ char *silc_net_localip(void); diff --git a/lib/silcutil/silcutil.h b/lib/silcutil/silcutil.h index c06fa9c7..9a3429be 100644 --- a/lib/silcutil/silcutil.h +++ b/lib/silcutil/silcutil.h @@ -550,7 +550,8 @@ int silc_string_match(const char *string1, const char *string2); * DESCRIPTION * * Returns the username of the user. If the global variable LOGNAME - * does not exists we will get the name from the passwd file. + * does not exists we will get the name from the passwd file. The + * caller must free the returned name. * * This function is system dependant. * @@ -565,7 +566,8 @@ char *silc_get_username(); * * DESCRIPTION * - * Returns the real name of ther user from the passwd file. + * Returns the real name of ther user from the passwd file. The + * caller must free the returned name. * * This function is system dependant. *