~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/inets/src/http_client/http.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
  when is_atom(Val)->
366
366
    http_options(Settings, Acc#http_options{version = Val});
367
367
http_options([Option | Settings], Acc) ->
368
 
    error_logger:info_report("Invalid option ignored ~p~n", [Option]),
 
368
    Report = io_lib:format("Invalid option ~p ignored ~n", [Option]),
 
369
    error_logger:info_report(Report),
369
370
    http_options(Settings, Acc).
370
371
 
371
372
validate_options([]) ->