diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2015-10-24 21:43:31 -0700 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2015-10-24 22:00:14 -0700 |
commit | 937c10bbe64a36579bc8bafcd29554e786143c86 (patch) | |
tree | 9628d9d6f0c06bd3c112818818fff261aed18923 /tests | |
parent | 110ae32047f2c5fc18d2326d8307d42e08790b82 (diff) | |
download | rabbitmq-c-937c10bbe64a36579bc8bafcd29554e786143c86.tar.gz |
Lib: amqp_parse_url should initialize output
amqp_parse_url() calls amqp_default_connection_info() to initialize the output
parameter to sensible defaults that mirror what the Java and .NET do.
Fixes #319
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_parse_url.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_parse_url.c b/tests/test_parse_url.c index b54ace2..533a910 100644 --- a/tests/test_parse_url.c +++ b/tests/test_parse_url.c @@ -78,7 +78,6 @@ static void parse_success(const char *url, struct amqp_connection_info ci; int res; - amqp_default_connection_info(&ci); res = amqp_parse_url(s, &ci); if (res) { fprintf(stderr, |