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)
|
|