* that address.
*/
if (strlen(address_to_unsubscribe) > 0) {
- holdbuf = mallok(SIZ);
+ holdbuf = malloc(SIZ);
begin_critical_section(S_NETCONFIGS);
ncfp = fopen(filename, "r+");
if (ncfp != NULL) {
}
else { /* Not relevant, so *keep* it! */
linelen = strlen(buf);
- holdbuf = reallok(holdbuf,
+ holdbuf = realloc(holdbuf,
(buflen + linelen + 2) );
strcpy(&holdbuf[buflen], buf);
buflen += linelen;
fclose(ncfp);
}
end_critical_section(S_NETCONFIGS);
- phree(holdbuf);
+ free(holdbuf);
}
/*