ossp-pkg/xds/regression-tests/xds-encode.c 1.5.2.1 -> 1.5.2.2
--- xds-encode.c 2001/08/01 11:27:20 1.5.2.1
+++ xds-encode.c 2001/08/01 12:03:12 1.5.2.2
@@ -103,7 +103,7 @@
printf("xds_encode() failed!\n");
return 1;
}
- if (strcmp(xds->buffer, "Hallo Hallo Hallo Hallo Hallo ") != 0)
+ if (memcmp(xds->buffer, "Hallo Hallo Hallo Hallo Hallo ", 30) != 0)
{
printf("xds_encode() did not yield the expected result.\n");
return 1;
|
|