Procházet zdrojové kódy

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.
pull/95/head
AeroNotix před 12 roky
rodič
revize
74bb7933df
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/ibrowse.erl

+ 2
- 2
src/ibrowse.erl Zobrazit soubor

@ -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}, []);

Načítá se…
Zrušit
Uložit