From a32e3bdb7bd942bbec5c50fe24304d88acefb280 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 13 Nov 2014 06:27:09 -0600 Subject: [PATCH] Remove use of CONFIG_MAX_TASK_ARGS from examples/thttpd --- examples/thttpd/content/tasks/tasks.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/thttpd/content/tasks/tasks.c b/examples/thttpd/content/tasks/tasks.c index a6cf14adc..0e823b6c6 100644 --- a/examples/thttpd/content/tasks/tasks.c +++ b/examples/thttpd/content/tasks/tasks.c @@ -152,12 +152,11 @@ static const char *g_ttypenames[4] = /* Then any additional arguments */ -#if CONFIG_MAX_TASK_ARGS > 2 - for (i = 2; i <= CONFIG_MAX_TASK_ARGS && ttcb->argv[i]; i++) + for (i = 2; ttcb->argv[i]; i++) { printf(", %p", ttcb->argv[i]); } -#endif + printf(")\n"); } }