This function doesn't follow our convention of naming functions.
---
 tests/testutils.c         | 2 +-
 tests/testutils.h         | 2 +-
 tests/virnetmessagetest.c | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/testutils.c b/tests/testutils.c
index f56ab09..7244a52 100644
--- a/tests/testutils.c
+++ b/tests/testutils.c
@@ -625,7 +625,7 @@ virTestDifference(FILE *stream,
  * Display expected and actual output text, trimmed to
  * first and last characters at which differences occur
  */
-int virtTestDifferenceBin(FILE *stream,
+int virTestDifferenceBin(FILE *stream,
                           const char *expect,
                           const char *actual,
                           size_t length)
diff --git a/tests/testutils.h b/tests/testutils.h
index 422270f..2e67600 100644
--- a/tests/testutils.h
+++ b/tests/testutils.h
@@ -69,7 +69,7 @@ int virTestDifferenceFullNoRegenerate(FILE *stream,
                                        const char *expectName,
                                        const char *actual,
                                        const char *actualName);
-int virtTestDifferenceBin(FILE *stream,
+int virTestDifferenceBin(FILE *stream,
                           const char *expect,
                           const char *actual,
                           size_t length);
diff --git a/tests/virnetmessagetest.c b/tests/virnetmessagetest.c
index bed92bb..8189031 100644
--- a/tests/virnetmessagetest.c
+++ b/tests/virnetmessagetest.c
@@ -77,7 +77,7 @@ static int testMessageHeaderEncode(const void *args 
ATTRIBUTE_UNUSED)
     }
 
     if (memcmp(expect, msg->buffer, sizeof(expect)) != 0) {
-        virtTestDifferenceBin(stderr, expect, msg->buffer, sizeof(expect));
+        virTestDifferenceBin(stderr, expect, msg->buffer, sizeof(expect));
         goto cleanup;
     }
 
@@ -269,7 +269,7 @@ static int testMessagePayloadEncode(const void *args 
ATTRIBUTE_UNUSED)
     }
 
     if (memcmp(expect, msg->buffer, sizeof(expect)) != 0) {
-        virtTestDifferenceBin(stderr, expect, msg->buffer, sizeof(expect));
+        virTestDifferenceBin(stderr, expect, msg->buffer, sizeof(expect));
         goto cleanup;
     }
 
@@ -511,7 +511,7 @@ static int testMessagePayloadStreamEncode(const void *args 
ATTRIBUTE_UNUSED)
     }
 
     if (memcmp(expect, msg->buffer, sizeof(expect)) != 0) {
-        virtTestDifferenceBin(stderr, expect, msg->buffer, sizeof(expect));
+        virTestDifferenceBin(stderr, expect, msg->buffer, sizeof(expect));
         goto cleanup;
     }
 
-- 
2.5.5

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to