diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-13 06:27:09 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-13 06:27:09 -0600 |
commit | fe3d5f2106bedf3cfd79da29c7045a8b80166e1d (patch) | |
tree | 467223610dab360328cb0d3aa8394568f6431882 /apps/examples/thttpd/content | |
parent | 20fc946b543948d533fe7d02813e6fb9d7be4ad9 (diff) | |
download | nuttx-fe3d5f2106bedf3cfd79da29c7045a8b80166e1d.tar.gz nuttx-fe3d5f2106bedf3cfd79da29c7045a8b80166e1d.tar.bz2 nuttx-fe3d5f2106bedf3cfd79da29c7045a8b80166e1d.zip |
Remove use of CONFIG_MAX_TASK_ARGS from examples/thttpd
Diffstat (limited to 'apps/examples/thttpd/content')
-rw-r--r-- | apps/examples/thttpd/content/tasks/tasks.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/examples/thttpd/content/tasks/tasks.c b/apps/examples/thttpd/content/tasks/tasks.c index a6cf14adc..0e823b6c6 100644 --- a/apps/examples/thttpd/content/tasks/tasks.c +++ b/apps/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"); } } |