mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-18 09:10:38 +01:00
util: Add qualifying comments
This commit is contained in:
parent
abcc9f1647
commit
86ce4a8b09
@ -161,6 +161,7 @@ bool util_is_broadcast_address(const uint8_t *addr)
|
|||||||
return !memcmp(addr, bcast_addr, 6);
|
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)
|
const char *util_get_domain(const char *identity)
|
||||||
{
|
{
|
||||||
static char domain[256];
|
static char domain[256];
|
||||||
@ -184,6 +185,7 @@ const char *util_get_domain(const char *identity)
|
|||||||
return identity;
|
return identity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This function assumes that identity is not bigger than 253 bytes */
|
||||||
const char *util_get_username(const char *identity)
|
const char *util_get_username(const char *identity)
|
||||||
{
|
{
|
||||||
static char username[256];
|
static char username[256];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user