OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/vencode.c versions 1.8 and 1.9
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/vencode.c 1.8 -> 1.9

--- vencode.c    2001/07/18 17:38:37     1.8
+++ vencode.c    2001/07/18 17:49:51     1.9
@@ -64,7 +64,7 @@
             return rc;
         printf("Setting up buffer with capacity %d byte.\n", xds->buffer_capacity);
         xds->buffer_len    = 0;
-        xds->we_own_buffer = (1==1);
+        xds->we_own_buffer = XDS_FALSE;
         }
 
     /* Ensure the buffer has free space. */
@@ -126,11 +126,11 @@
 
                         if (rc > xds->buffer_capacity - xds->buffer_len)
                             {
-                            restart_engine = (1==1);
+                            restart_engine = XDS_TRUE;
                             args = args_backup;
                             }
                         else
-                            restart_engine = (1!=1);
+                            restart_engine = XDS_FALSE;
 
                         if (!xds->we_own_buffer)
                             {
@@ -153,7 +153,7 @@
                         }
                     else
                         {
-                        restart_engine = (1!=1);
+                        restart_engine = XDS_FALSE;
                         xds->buffer_len += rc;
                         }
                     }

CVSTrac 2.0.1