[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/05: test_response_entries: improved error print
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/05: test_response_entries: improved error print |
Date: |
Thu, 28 Apr 2022 18:09:45 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit aea4dcaefeb0b5baef0b7742356403f31a462e62
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 28 19:06:33 2022 +0300
test_response_entries: improved error print
---
src/microhttpd/test_response_entries.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/test_response_entries.c
b/src/microhttpd/test_response_entries.c
index c08466df..5386b8da 100644
--- a/src/microhttpd/test_response_entries.c
+++ b/src/microhttpd/test_response_entries.c
@@ -24,21 +24,21 @@ expect_str (const char *actual, const char *expected)
if (NULL == actual)
{
fprintf (stderr, "FAILED: result: NULL\n" \
- " expected: \"%s\"",
+ " expected: \"%s\"\n",
expected);
return 0;
}
if (NULL == expected)
{
fprintf (stderr, "FAILED: result: \"%s\"\n" \
- " expected: NULL",
+ " expected: NULL\n",
actual);
return 0;
}
if (0 != strcmp (actual, expected))
{
fprintf (stderr, "FAILED: result: \"%s\"\n" \
- " expected: \"%s\"",
+ " expected: \"%s\"\n",
actual, expected);
return 0;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.