Commit 1f7a300b authored by Mikhail Zabaluev's avatar Mikhail Zabaluev

torture_url: cover both cases of the body pseudo-parameter termination

parent 1da2cf20
......@@ -246,7 +246,7 @@ int test_sip(void)
char sip2url[] =
char sip2[sizeof(sipurl) + 32];
char sipsurl[] =
......@@ -311,7 +311,7 @@ int test_sip(void)
TEST_S(url->url_params, "param=1%3D%3D1");
TEST_S(url_query_as_header_string(home, url->url_headers),
"From:foo@bar\nTo:bar@baz\n\nCANNED MSG");
url_digest(hash1, sizeof(hash1), url, NULL);
url_digest(hash2, sizeof(hash2), (url_t *)sip2url, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment