diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-12 20:00:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-12 20:00:38 +0000 |
commit | 20ce4cb1b314f233171ba785a7acb0883496ded9 (patch) | |
tree | a00dab191f232effdc1856695049dd0df369d3f2 | |
parent | d51420e73bb4a1998a0ebf130ecd4aae2f12c0ab (diff) |
2007-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* init.c: Account for adding port to shttpd initialization.
-rw-r--r-- | http/ChangeLog | 4 | ||||
-rw-r--r-- | http/init.c | 3 |
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" ); |