[libdmapsharing] dmap-connection.c: fix unit test to include '\0' in size



commit 7b8d2a2077458e6a7967c45a0f76ab29a1351e85
Author: W. Michael Petullo <mike flyn org>
Date:   Tue Jun 30 21:39:20 2020 -0500

    dmap-connection.c: fix unit test to include '\0' in size

 libdmapsharing/dmap-connection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libdmapsharing/dmap-connection.c b/libdmapsharing/dmap-connection.c
index 3a4bb2a..4f657ba 100644
--- a/libdmapsharing/dmap-connection.c
+++ b/libdmapsharing/dmap-connection.c
@@ -1881,7 +1881,7 @@ _error_cb(G_GNUC_UNUSED DmapConnection *connection, GError *error,
 } \
 
 START_TEST(_actual_http_response_handler_test) \
-_ACTUAL_HTTP_RESPONSE_HANDLER_TEST("minm\x00\x00\x00\x0dHello, world!",
+_ACTUAL_HTTP_RESPONSE_HANDLER_TEST("minm\x00\x00\x00\x0eHello, world!",
                                     sizeof bytes, DMAP_STATUS_OK);
 END_TEST
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]