Code cleanup
This commit is contained in:
@@ -265,7 +265,7 @@ static char *sk_get_name (int fd)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *const strs[] = {
|
const char *strs[] = {
|
||||||
host, ".", port
|
host, ".", port
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ static inline size_t str_len (const char *restrict str)
|
|||||||
return strlen(str);
|
return strlen(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline char *str_cat (const char *const strs[], size_t count)
|
static inline char *str_cat (const char **strs, size_t count)
|
||||||
{
|
{
|
||||||
size_t size = 1;
|
size_t size = 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user