Browse Source

Fix spec for cowboy_dispatcher:split_path/1.

Loïc Hoguin 14 years ago
parent
commit
8e55c2e2b8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/cowboy_dispatcher.erl

+ 2 - 1
src/cowboy_dispatcher.erl

@@ -24,7 +24,8 @@
 split_host(Host) ->
 	string:tokens(Host, ".").
 
--spec split_path(Path::string()) -> {Tokens::path_tokens(), Qs::string()}.
+-spec split_path(Path::string())
+	-> {Tokens::path_tokens(), Path::string(), Qs::string()}.
 split_path(Path) ->
 	case string:chr(Path, $?) of
 		0 ->