From 74bb7933dfbc733e92fb5f3d23b125d3f724ee11 Mon Sep 17 00:00:00 2001 From: AeroNotix Date: Wed, 12 Jun 2013 14:13:00 +0100 Subject: [PATCH] Fixed documentation errors I fixed the documentation errors in order to get them to build I made a cursory check through the source to ensure that they were correct and it seems like they are so I submit this patch. --- src/ibrowse.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ibrowse.erl b/src/ibrowse.erl index 40b3f97..5364587 100644 --- a/src/ibrowse.erl +++ b/src/ibrowse.erl @@ -481,7 +481,7 @@ spawn_worker_process(Args) -> spawn_worker_process(Args, []). %% @doc Same as spawn_worker_process/1 except with Erlang process options. -%% @spec spawn_worker_process(Url::string() | {Host::string(), Port::integer(), Options::list()) -> {ok, pid()} +%% @spec spawn_worker_process(Host::string(), Port::integer()) -> {ok, pid()} spawn_worker_process(Host, Port) when is_list(Host), is_integer(Port) -> %% Convert old API calls to new API format. spawn_worker_process({Host, Port}, []); @@ -495,7 +495,7 @@ spawn_link_worker_process(Args) -> spawn_link_worker_process(Args, []). %% @doc Same as spawn_link_worker_process/1 except with Erlang process options. -%% @spec spawn_link_worker_process(Url::string() | {Host::string(), Port::integer(), Options::list()) -> {ok, pid()} +%% @spec spawn_link_worker_process(Host::string(), Port::integer()) -> {ok, pid()} spawn_link_worker_process(Host, Port) when is_list(Host), is_integer(Port) -> %% Convert old API calls to new API format. spawn_link_worker_process({Host, Port}, []);