diff options
author | Micael Karlberg <[email protected]> | 2010-05-27 14:27:05 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-05-27 14:27:05 +0000 |
commit | c2535851c84a2de16b9dcdf651fb5f9686860155 (patch) | |
tree | a3b09c54d2472c3c12fa4180f865539ab70f7ad2 /lib/inets/src/http_server/httpd_util.erl | |
parent | 141ff3c087ca856d21d0395ae9d31401028fd64b (diff) | |
download | otp-c2535851c84a2de16b9dcdf651fb5f9686860155.tar.gz otp-c2535851c84a2de16b9dcdf651fb5f9686860155.tar.bz2 otp-c2535851c84a2de16b9dcdf651fb5f9686860155.zip |
OTP-8609: Problems processing netscape cookies - expire
OTP-8610: Problem processing netscape cookies - date
OTP-8624: Documented debug options not handled
Diffstat (limited to 'lib/inets/src/http_server/httpd_util.erl')
-rw-r--r-- | lib/inets/src/http_server/httpd_util.erl | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/lib/inets/src/http_server/httpd_util.erl b/lib/inets/src/http_server/httpd_util.erl index b59fd861dc..cfad79638f 100644 --- a/lib/inets/src/http_server/httpd_util.erl +++ b/lib/inets/src/http_server/httpd_util.erl @@ -1,19 +1,19 @@ %% %% %CopyrightBegin% -%% -%% Copyright Ericsson AB 1997-2009. All Rights Reserved. -%% +%% +%% Copyright Ericsson AB 1997-2010. All Rights Reserved. +%% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in %% compliance with the License. You should have received a copy of the %% Erlang Public License along with this software. If not, it can be %% retrieved online at http://www.erlang.org/. -%% +%% %% Software distributed under the License is distributed on an "AS IS" %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See %% the License for the specific language governing rights and limitations %% under the License. -%% +%% %% %CopyrightEnd% %% %% @@ -755,23 +755,18 @@ do_enable_debug([{Level,Modules}|Rest]) when is_atom(Level) andalso is_list(Modules) -> case Level of all_functions -> - io:format("Tracing on all functions set on modules: ~p~n", - [Modules]), lists:foreach( - fun(X)-> + fun(X) -> dbg:tpl(X, [{'_', [], [{return_trace}]}]) end, Modules); exported_functions -> - io:format("Tracing on exported functions set on " - "modules: ~p~n",[Modules]), lists:foreach( - fun(X)-> + fun(X) -> dbg:tp(X, [{'_', [], [{return_trace}]}]) end, Modules); disable -> - io:format("Tracing disabled on modules: ~p~n", [Modules]), lists:foreach( - fun(X)-> + fun(X) -> dbg:ctp(X) end, Modules); _ -> |