char *ptr;
ptr = start;
- bzero(buf, maxlen);
+ memset(buf, 0, maxlen);
while(1) {
ch = *ptr++;
char nested_partnum[256];
ptr = content_start;
- bzero(boundary, sizeof boundary);
- bzero(content_type, sizeof content_type);
- bzero(encoding, sizeof encoding);
+ memset(boundary, 0, sizeof boundary);
+ memset(content_type, 0, sizeof content_type);
+ memset(encoding, 0, sizeof encoding);
/* Learn interesting things from the headers */
strcpy(header, "");