3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-27 02:32:52 +01:00

util: Add qualifying comments

This commit is contained in:
Denis Kenzior 2019-04-08 16:28:37 -05:00
parent abcc9f1647
commit 86ce4a8b09

View File

@ -161,6 +161,7 @@ bool util_is_broadcast_address(const uint8_t *addr)
return !memcmp(addr, bcast_addr, 6);
}
/* This function assumes that identity is not bigger than 253 bytes */
const char *util_get_domain(const char *identity)
{
static char domain[256];
@ -184,6 +185,7 @@ const char *util_get_domain(const char *identity)
return identity;
}
/* This function assumes that identity is not bigger than 253 bytes */
const char *util_get_username(const char *identity)
{
static char username[256];