diff --git a/tests/testutils.c b/tests/testutils.c index afdd2929a4870061a5a7d044e96a9346544d6a6f..4d4d1ab442c15812104c1bfecfaea1bb446533ff 100644 --- a/tests/testutils.c +++ b/tests/testutils.c @@ -625,10 +625,10 @@ virTestDifference(FILE *stream, * Display expected and actual output text, trimmed to * first and last characters at which differences occur */ -int virtTestDifferenceBin(FILE *stream, - const char *expect, - const char *actual, - size_t length) +int virTestDifferenceBin(FILE *stream, + const char *expect, + const char *actual, + size_t length) { size_t start = 0, end = length; ssize_t i; diff --git a/tests/testutils.h b/tests/testutils.h index 1619b5db6848bbbad7094e1982f0422c2fc94f75..82e22cfe3e91cc2f458a2f00b7c2f638c1668bdf 100644 --- a/tests/testutils.h +++ b/tests/testutils.h @@ -69,10 +69,10 @@ int virTestDifferenceFullNoRegenerate(FILE *stream, const char *expectName, const char *actual, const char *actualName); -int virtTestDifferenceBin(FILE *stream, - const char *expect, - const char *actual, - size_t length); +int virTestDifferenceBin(FILE *stream, + const char *expect, + const char *actual, + size_t length); int virTestCompareToFile(const char *strcontent, const char *filename); diff --git a/tests/virnetmessagetest.c b/tests/virnetmessagetest.c index bed92bbf654654b92f15254a6def31f455fa4e87..8189031f54f2887a5bba7a3bc429a3223c94f662 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; }