mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fix build.
This commit is contained in:
parent
6b19ae1b6f
commit
88a5521783
1 changed files with 1 additions and 1 deletions
|
|
@ -889,7 +889,7 @@ static int line_get_value(const char *input, const char *key, char *value, size_
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
if (!end) len = strlen(input);
|
if (!end) len = strlen(input);
|
||||||
else len = end + 1 - input;
|
else len = (size_t)(end + 1 - input);
|
||||||
*read = len;
|
*read = len;
|
||||||
strncpy(line, input, MIN(len, sizeof(line)));
|
strncpy(line, input, MIN(len, sizeof(line)));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue