summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-07-12 20:00:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-07-12 20:00:38 +0000
commit20ce4cb1b314f233171ba785a7acb0883496ded9 (patch)
treea00dab191f232effdc1856695049dd0df369d3f2
parent2007-07-12 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadnetwork-demos-20ce4cb1b314f233171ba785a7acb0883496ded9.tar.bz2
2007-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* init.c: Account for adding port to shttpd initialization.
-rw-r--r--http/ChangeLog4
-rw-r--r--http/init.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/http/ChangeLog b/http/ChangeLog
index 6afe83c..9bf62a5 100644
--- a/http/ChangeLog
+++ b/http/ChangeLog
@@ -1,5 +1,9 @@
2007-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * init.c: Account for adding port to shttpd initialization.
+
+2007-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* ChangeLog, Makefile, init.c: No switchable from GoAhead to SHTTPD but
defaults to SHTTPD. The displayed index.html will indicate which
httpd implementation is enabled. The user should edit the Makefile to
diff --git a/http/init.c b/http/init.c
index 86ee455..7f0c146 100644
--- a/http/init.c
+++ b/http/init.c
@@ -146,7 +146,8 @@ rtems_task Init(
RTEMS_DEFAULT_ATTRIBUTES, /* attributes */
NULL, /* init_callback */
NULL, /* addpages_callback */
- "/" /* initial priority */
+ "/", /* initial priority */
+ 80 /* port to listen on */
);
if ( status )
printf( "ERROR -- failed to initialize webserver\n" );