OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/regression-tests/xdr-octetstream-empty.c versions 1.1 and 1.1.2.1
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/regression-tests/xdr-octetstream-empty.c 1.1 -> 1.1.2.1

--- xdr-octetstream-empty.c      2001/07/20 09:22:26     1.1
+++ xdr-octetstream-empty.c      2001/08/01 12:02:28     1.1.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 octet stream is not correct.\n");
         return 1;

CVSTrac 2.0.1