ossp-pkg/xds/regression-tests/xdr-string-empty.c 1.2 -> 1.2.2.1
--- xdr-string-empty.c 2001/07/20 09:22:26 1.2
+++ xdr-string-empty.c 2001/08/01 12:02:40 1.2.2.1
@@ -96,7 +96,7 @@
printf("The size of the decoded message is wrong.\n");
return 1;
}
- if (strncmp(msg, new_msg, new_msg_size) != 0)
+ if (memcmp(msg, new_msg, new_msg_size) != 0)
{
printf("The decoded string is not correct.\n");
return 1;
|
|