summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiung-yu <jiung.yu@samsung.com>2022-09-02 07:22:49 +0900
committerjiung-yu <jiung.yu@samsung.com>2022-09-02 07:22:49 +0900
commit4401720aa00913507a25c24772bc7c4e865267f3 (patch)
treed484c869d96f537925d1800f7be9a612f1dc76bb
parent119937774cfc97637485c10397cf0d388ff30883 (diff)
downloadtoybox-4401720aa00913507a25c24772bc7c4e865267f3.tar.gz
toybox-4401720aa00913507a25c24772bc7c4e865267f3.tar.bz2
toybox-4401720aa00913507a25c24772bc7c4e865267f3.zip
Change-Id: I5b1d33f9b0dc9cc9e1ae6ef3cbae781026ff479b
-rw-r--r--toys/pending/dhcpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/toys/pending/dhcpd.c b/toys/pending/dhcpd.c
index bf3f2eb..213a941 100644
--- a/toys/pending/dhcpd.c
+++ b/toys/pending/dhcpd.c
@@ -741,7 +741,8 @@ static int parse_server_config(char *config_file, struct config_keyword *confkey
{
FILE *fs = NULL;
char *confline_temp = NULL,*confline = NULL, *tk = NULL, *tokens[2] = {NULL, NULL};
- int len, linelen, tcount, count, size = ARRAY_LEN(keywords);
+ int len, tcount, count, size = ARRAY_LEN(keywords);
+ size_t linelen;
for (count = 0; count < size; count++)
if (confkey[count].handler)