]> git.ozlabs.org Git - ppp.git/blobdiff - pppdump/deflate.c
Made setipaddr() non-static so it can be called from plugins (particularly
[ppp.git] / pppdump / deflate.c
index 6d16629581f852fca208d0159f8dabc02dd2c3fa..840e2d439cd3a8b315d1eff46be54b4d78a70d32 100644 (file)
@@ -25,7 +25,7 @@
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
- * $Id: deflate.c,v 1.2 1999/04/01 07:26:30 paulus Exp $
+ * $Id: deflate.c,v 1.3 1999/04/16 11:35:59 paulus Exp $
  */
 
 #include <sys/types.h>
@@ -153,7 +153,7 @@ z_decomp_alloc(options, opt_len)
     }
 
     state->w_size = w_size;
-    bzero(&state->stats, sizeof(state->stats));
+    memset(&state->stats, 0, sizeof(state->stats));
     return (void *) state;
 }