OSSP CVS Repository

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

Check-in Number: 737
Date: 2001-Aug-23 07:30:58 (local)
2001-Aug-23 05:30:58 (UTC)
User:ms
Branch:
Comment: Upgraded bzero(3) to memset(3).
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_ch_buffer.c      1.6 -> 1.7     1 inserted, 1 deleted

ossp-pkg/l2/l2_ch_buffer.c 1.6 -> 1.7

--- l2_ch_buffer.c       2001/08/22 18:12:16     1.6
+++ l2_ch_buffer.c       2001/08/23 05:30:58     1.7
@@ -113,7 +113,7 @@
             if (l2_channel_write(downstream, cfg->buf, cfg->bufpos) == L2_ERROR)
                 return L2_ERROR;
         cfg->bufpos = 0;
-        bzero(cfg->buf, cfg->bufsize); /* Guard against improper usage */
+        memset(cfg->buf, 0x5A, cfg->bufsize); /* Guard against improper usage */
     }
 
     if (downstream != NULL)

CVSTrac 2.0.1