aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSina Samavati <[email protected]>2014-02-21 00:31:38 +0330
committerSina Samavati <[email protected]>2014-02-21 00:31:38 +0330
commit4ff6b0238b9d79066a2adc19ef89c2ddc77fd3cc (patch)
tree069b24603a9b475431c401983644a256c9ec9c6a
parentb72c420d58e8478950436c1005d7e69966df79f1 (diff)
downloadcowboy-4ff6b0238b9d79066a2adc19ef89c2ddc77fd3cc.tar.gz
cowboy-4ff6b0238b9d79066a2adc19ef89c2ddc77fd3cc.tar.bz2
cowboy-4ff6b0238b9d79066a2adc19ef89c2ddc77fd3cc.zip
Fix cowboy:stop_listener/1 spec in manual
-rw-r--r--manual/cowboy.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/cowboy.md b/manual/cowboy.md
index c2ef859..0eab0f8 100644
--- a/manual/cowboy.md
+++ b/manual/cowboy.md
@@ -76,7 +76,7 @@ Exports
> Start listening for SPDY connections. Returns the pid for this
> listener's supervisor.
-### stop_listener(Ref) -> ok
+### stop_listener(Ref) -> ok | {error, not_found}
> Types:
> * Ref = ranch:ref()