Skip to content

Commit

Permalink
removed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cstar committed May 18, 2010
1 parent 6a0078d commit f28ce67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/erls3.erl
Expand Up @@ -38,6 +38,7 @@
copy/4 ]).



-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
-endif.
Expand Down Expand Up @@ -75,7 +76,7 @@ start(_Type, _StartArgs) ->
R = erls3sup:start_link([ID, Secret, SSL, Timeout], N),
case EventHandler of
none -> ok;
H -> gen_event:add_handler(erls3_events, EventHandler, [])
_H -> gen_event:add_handler(erls3_events, EventHandler, [])
end,
R
end.
Expand Down

0 comments on commit f28ce67

Please sign in to comment.