Browse Source

Fix cowboy:stop_listener/1 spec in manual

Sina Samavati 11 years ago
parent
commit
4ff6b0238b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      manual/cowboy.md

+ 1 - 1
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()