OSSP CVS Repository

ossp - Check-in [1359]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1359
Date: 2001-Nov-16 21:07:54 (local)
2001-Nov-16 20:07:54 (UTC)
User:ms
Branch:
Comment: Cleanup before introducing timer changes.
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_ch_buffer.c      1.34 -> 1.35     6 inserted, 5 deleted

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