OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ch_buffer.c versions 1.34 and 1.35
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ch_buffer.c 1.34 -> 1.35

--- l2_ch_buffer.c       2001/11/07 13:05:20     1.34
+++ l2_ch_buffer.c       2001/11/16 20:07:54     1.35
@@ -239,11 +239,12 @@
         }
     }
 
-    /* flush if level of incoming message differs from those already in buffer */
-    if (   (cfg->levelflush)             /* if different levels force a flush    */
-        && (cfg->bufpos > 0)             /* and there is something in the buffer */
-        && (cfg->level != L2_LEVEL_NONE) /* and a remembered level is known      */
-        && (level != cfg->level)         /* and the levels really differ         */) {
+    /* flush if incoming message level differs from those already in buffer */
+    if (   (cfg->levelflush)        /* if different levels force a flush    */
+        && (cfg->bufpos > 0)        /* and there is something in the buffer */
+        && (cfg->level != L2_LEVEL_NONE) /* and a remembered level is known */
+        && (level != cfg->level)         /* and the levels really differ    */)
+    {
         downstream = NULL;
         while (l2_channel_downstream(ch, &downstream) == L2_OK)
             if ((rv = l2_channel_write(downstream, cfg->level, cfg->buf, cfg->bufpos)) != L2_OK)

CVSTrac 2.0.1