summaryrefslogtreecommitdiff
path: root/apps/netutils/webserver/httpd_cgi.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 18:03:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 18:03:37 +0000
commit2323c98f7bfe6367f48ba025d586a9d1ff22c6bc (patch)
treece1a329f597da59fb575f6d476befe38affd2780 /apps/netutils/webserver/httpd_cgi.c
parent05c66e9f991c28717a1955f4aba1e7691a74d418 (diff)
downloadnuttx-2323c98f7bfe6367f48ba025d586a9d1ff22c6bc.tar.gz
nuttx-2323c98f7bfe6367f48ba025d586a9d1ff22c6bc.tar.bz2
nuttx-2323c98f7bfe6367f48ba025d586a9d1ff22c6bc.zip
Add URL/CGI function mapping option to uIP web server
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5096 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/webserver/httpd_cgi.c')
-rw-r--r--apps/netutils/webserver/httpd_cgi.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/netutils/webserver/httpd_cgi.c b/apps/netutils/webserver/httpd_cgi.c
index 62df72e4a..fa11f12ec 100644
--- a/apps/netutils/webserver/httpd_cgi.c
+++ b/apps/netutils/webserver/httpd_cgi.c
@@ -58,14 +58,6 @@ struct httpd_cgi_call *cgi_calls = NULL;
* Public Functions
****************************************************************************/
-/****************************************************************************
- * Name: nullfunction
- ****************************************************************************/
-
-static void nullfunction(struct httpd_state *pstate, char *ptr)
-{
-}
-
void httpd_cgi_register(struct httpd_cgi_call *cgi_call)
{
if (cgi_calls == NULL)
@@ -92,5 +84,5 @@ httpd_cgifunction httpd_cgi(char *name)
cgi_call = cgi_call->next;
}
- return nullfunction;
+ return NULL;
}