Remove use of CONFIG_MAX_TASK_ARGS from examples/thttpd
This commit is contained in:
parent
eaddb9059f
commit
a32e3bdb7b
@ -152,12 +152,11 @@ static const char *g_ttypenames[4] =
|
|||||||
|
|
||||||
/* Then any additional arguments */
|
/* Then any additional arguments */
|
||||||
|
|
||||||
#if CONFIG_MAX_TASK_ARGS > 2
|
for (i = 2; ttcb->argv[i]; i++)
|
||||||
for (i = 2; i <= CONFIG_MAX_TASK_ARGS && ttcb->argv[i]; i++)
|
|
||||||
{
|
{
|
||||||
printf(", %p", ttcb->argv[i]);
|
printf(", %p", ttcb->argv[i]);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
printf(")\n");
|
printf(")\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user