Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
SVN Revision: 973
  • Loading branch information
nniclausse committed Jan 12, 2009
1 parent d45f59e commit a69ec70
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/ts_config.hrl
Expand Up @@ -58,7 +58,7 @@
cur_req_id = 0, % temporary var (current real request id)
file_server= [], % filenames for file_server
load_loop, % loop phases if > 0
hibernate, %% hibernate timeout (milisec)
hibernate = infinity, %% hibernate timeout (millisec)
proto_opts %% tcp/udp buffer sizes
}).

Expand Down
2 changes: 1 addition & 1 deletion include/ts_profile.hrl
Expand Up @@ -32,7 +32,7 @@
-record(match,
{ regexp,
'when' = false,
do = continue, %(continue | loop | stop)
do = continue, %(continue | loop | abort | log )
sleep_loop, % in seconds
max_loop,
loop_back,
Expand Down
2 changes: 1 addition & 1 deletion src/tsung-plotter/index-http.html
Expand Up @@ -58,7 +58,7 @@
<tr>
<td align="right" colspan="2">
<p align="right">
Graphs generated by tsung-plotter, © Dimitri Fontaine, <a
Graphs generated by tsung-plotter, <a
href="http://tsung.erlang-projetcs.org" title="tsung">Tsung</a>
</p>
</td>
Expand Down
5 changes: 3 additions & 2 deletions src/tsung/ts_http.erl
Expand Up @@ -143,11 +143,12 @@ init_dynparams() ->


%%----------------------------------------------------------------------
%% Function: subst/2
%% Purpose: Replace on the fly dynamic element of the HTTP request For
%% @spec subst(Req::#http_request{}, DynData::#dyndata{} ) -> #http_request{}
%% @doc Replace on the fly dynamic element of the HTTP request For
%% the moment, we only do dynamic substitution in URL, body,
%% userid, passwd, because we see no need for the other HTTP
%% request parameters.
%% @end
%%----------------------------------------------------------------------
subst(Req=#http_request{url=URL, body=Body, headers = Headers, userid=UserId, passwd=Passwd}, DynData) ->
Req#http_request{url = ts_search:subst(URL, DynData),
Expand Down

0 comments on commit a69ec70

Please sign in to comment.