[git commit] udhcp6: move misplaced comment
Denys Vlasenko
vda.linux at googlemail.com
Mon Mar 27 20:49:12 UTC 2017
commit: https://git.busybox.net/busybox/commit/?id=ab03061615706d5c741752483cd9729169bf5090
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/udhcp/d6_dhcpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c
index 95de74f..3e08798 100644
--- a/networking/udhcp/d6_dhcpc.c
+++ b/networking/udhcp/d6_dhcpc.c
@@ -152,8 +152,8 @@ static char** new_env(void)
/* put all the parameters into the environment */
static void option_to_env(uint8_t *option, uint8_t *option_end)
{
- /* "length minus 4" */
char *dlist, *ptr;
+ /* "length minus 4" */
int len_m4 = option_end - option - 4;
int olen, ooff;
while (len_m4 >= 0) {
More information about the busybox-cvs
mailing list