OSSP CVS Repository

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

ossp-pkg/xds/regression-tests/xdr-string-empty.c 1.1 -> 1.2

--- xdr-string-empty.c   2001/07/19 15:20:47     1.1
+++ xdr-string-empty.c   2001/07/20 09:22:26     1.2
@@ -39,7 +39,7 @@
     char*  new_msg;
     size_t new_msg_size;
 
-    /* Encode the string as octed stream. Then erase the buffer and
+    /* Encode the string as octet stream. Then erase the buffer and
        decode the string back, verifying that it hasn't changed. */
 
     xds = xds_init(XDS_ENCODE);
@@ -66,7 +66,7 @@
     xds_destroy(xds);
     if (buffer_size % 4 != 0)
         {
-        printf("The encoded octed stream's buffer size is not a multiple of 4.\n");
+        printf("The encoded strings' buffer size is not a multiple of 4.\n");
         return 1;
         }
 
@@ -98,7 +98,7 @@
         }
     if (strncmp(msg, new_msg, new_msg_size) != 0)
         {
-        printf("The decoded octed stream is not correct.\n");
+        printf("The decoded string is not correct.\n");
         return 1;
         }
     xds_destroy(xds);

CVSTrac 2.0.1