diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-31 23:05:51 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-31 23:05:51 +0000 |
commit | b351b752486c1693392faed106a8a77609006656 (patch) | |
tree | 8b04048671d38afda5fd5fbcea2ae16a9da8bcbc /apps/examples/uip/main.c | |
parent | f8d292453df82fde56d2e4674ba78b5885fed899 (diff) | |
download | nuttx-b351b752486c1693392faed106a8a77609006656.tar.gz nuttx-b351b752486c1693392faed106a8a77609006656.tar.bz2 nuttx-b351b752486c1693392faed106a8a77609006656.zip |
The content for uIP web server demo is no longer canned, but is not built dynameically (Thanks to Max Holtzberg)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5073 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/uip/main.c')
-rw-r--r-- | apps/examples/uip/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/examples/uip/main.c b/apps/examples/uip/main.c index 9593d4d25..dcad63eaa 100644 --- a/apps/examples/uip/main.c +++ b/apps/examples/uip/main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/uip/main.c * - * Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Based on uIP which also has a BSD style license: @@ -78,6 +78,8 @@ #include <apps/netutils/httpd.h> +#include "cgi.h" + /**************************************************************************** * Definitions ****************************************************************************/ @@ -192,6 +194,7 @@ int uip_main(int argc, char *argv[]) #ifdef CONFIG_NET_TCP printf("Starting webserver\n"); httpd_init(); + cgi_register(); httpd_listen(); #endif |