summaryrefslogtreecommitdiffstats
path: root/src/utests/upnpparseresponsetest.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-25 10:14:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-06-30 16:08:12 +0900
commit7e90bb1967477b331f134e27d6f0ea4cc69ffb0a (patch)
treed84a9a28035f9d9f86a76dfdb41e7a35fe2ca381 /src/utests/upnpparseresponsetest.cpp
parentf95d80e61e0b55201184b844cbf059efc574c2f0 (diff)
downloadktorrent-7e90bb19.tar.gz
ktorrent-7e90bb19.zip
Add cmake rules for utests and fix tester program
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit edc958f6e74feb036c90bfa55f40df1c55c37153)
Diffstat (limited to 'src/utests/upnpparseresponsetest.cpp')
-rw-r--r--src/utests/upnpparseresponsetest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utests/upnpparseresponsetest.cpp b/src/utests/upnpparseresponsetest.cpp
index 97102cf..a096b59 100644
--- a/src/utests/upnpparseresponsetest.cpp
+++ b/src/utests/upnpparseresponsetest.cpp
@@ -38,7 +38,7 @@ namespace utest
bool UPnPParseResponseTest::doTest()
{
- static const char* test_ps = "M-SEARCH * HTTP/1.1\r\n"
+ static const char* test_ps = "HTTP/1.1\r\n"
"HOST: 239.255.255.250:1900\r\n"
"ST:urn:schemas-upnp-org:device:InternetGatewayDevice:1\r\n"
"MAN:\"ssdp:discover\"\r\n"