diff options
Diffstat (limited to 'tests/test_parse_url.c')
-rw-r--r-- | tests/test_parse_url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_parse_url.c b/tests/test_parse_url.c index da3e681..cb4f59d 100644 --- a/tests/test_parse_url.c +++ b/tests/test_parse_url.c @@ -78,7 +78,7 @@ static void parse_success(const char *url, if (res) { fprintf(stderr, "Expected to successfully parse URL, but didn't: %s (%s)\n", - url, amqp_error_string(-res)); + url, amqp_error_string2(res)); abort(); } |