Permalink
Browse files

Example

  • Loading branch information...
benjaminoakes committed Nov 9, 2011
1 parent 383b711 commit d172c25ecc9f677e7445eeb964c4a9328c8b2f00
Showing with 6 additions and 2 deletions.
  1. +5 −1 README.md
  2. +1 −1 main.c
View
@@ -10,12 +10,16 @@ Usage
Usage: mhttpd [port]
+Example:
+
+ mhttpd 3000
+
Right now, it just serves up "public/index.html" in response to any request.
Building
--------
-After you have the source (e.g. from [downloading a tarball via GitHub](https://github.com/benjaminoakes/mhttpd/tarball/master)), just do the standard steps:
+After you have the source (e.g., from [downloading a tarball via GitHub](https://github.com/benjaminoakes/mhttpd/tarball/master)), just do the standard steps:
./configure
make
View
2 main.c
@@ -5,7 +5,7 @@
#include <stdio.h>
#include "mhttpd.h"
-#define DEFAULT_PORT 3000
+#define DEFAULT_PORT 80
/** Name this program was called with */
const char* progname;

0 comments on commit d172c25

Please sign in to comment.