jbrisbin/amqp_client — pull request #9 by puzza007 (2013-02-11 23:19:15+00:00)
Title: update app file to match the official

This fixes an error when you use the default amqp_client config

(ubic@127.0.0.1)3> {ok, Connection} = amqp_connection:start(#amqp_params_network{}).

=ERROR REPORT==== 11-Feb-2013::16:03:31 ===
** Generic server <0.293.0> terminating
** Last message in was connect
** When Server state == {state,amqp_network_connection,
{state,undefined,undefined,undefined,undefined,
undefined,false},
<0.292.0>,undefined,
{amqp_params_network,<<"guest">>,<<"guest">>,
<<"/">>,"localhost",5672,0,0,0,infinity,none,
[#Fun,
#Fun],
[],[]},
undefined,undefined,
#Fun,
#Fun,false}
** Reason for termination ==
** {{case_clause,undefined},
[{amqp_network_connection,inet_address_preference,0,
[{file,"src/amqp_network_connection.erl"},
{line,154}]},
{amqp_network_connection,gethostaddr,1,
[{file,"src/amqp_network_connection.erl"},
{line,161}]},
{amqp_network_connection,connect,4,
[{file,"src/amqp_network_connection.erl"},
{line,110}]},
{amqp_gen_connection,handle_call,3,
[{file,"src/amqp_gen_connection.erl"},{line,177}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,588}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}