aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-02-16 15:58:44 +0100
committerLoïc Hoguin <[email protected]>2015-02-16 15:58:44 +0100
commit881316e6a100c430f9f9515f831227f714f47b21 (patch)
tree1aa1a4be5f7673cb7665642f6b5c553da404798f
parentdc8be8882c9aeba9f14c228d8567fba2ca7fd55d (diff)
parenta7ceb58ee8670484171197e84ed3273e3344ca4e (diff)
downloadcowboy-881316e6a100c430f9f9515f831227f714f47b21.tar.gz
cowboy-881316e6a100c430f9f9515f831227f714f47b21.tar.bz2
cowboy-881316e6a100c430f9f9515f831227f714f47b21.zip
Merge branch 'patch-1' of https://github.com/grahamrhay/cowboy
-rw-r--r--doc/src/guide/getting_started.ezdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/getting_started.ezdoc b/doc/src/guide/getting_started.ezdoc
index a959b45..deb7bf2 100644
--- a/doc/src/guide/getting_started.ezdoc
+++ b/doc/src/guide/getting_started.ezdoc
@@ -121,7 +121,7 @@ start(_Type, _Args) ->
Dispatch = cowboy_router:compile([
{'_', [{"/", hello_handler, []}]}
]),
- cowboy:start_http(my_http_listener, 100, [{port, 8080}],
+ {ok, _} = cowboy:start_http(my_http_listener, 100, [{port, 8080}],
[{env, [{dispatch, Dispatch}]}]
),
hello_erlang_sup:start_link().