sasl_config.c
Sven Paulus
sven at karlsruhe.org
Mon Aug 14 18:50:19 UTC 2000
In my previous mail I suggested excluding @ETCDIR@ from _PATH_SASL_CONF.
Of course,
#include "configdata.h"
#include "clibrary.h"
#include "nnrpd.h"
should be added on the top of the file. This shows btw. that there is a call
to xrealloc which doesn't match the prototype.
I think at line ~140 of sasl_config.c
configlist = (struct configlist *)
xrealloc((char *)configlist, alloced*sizeof(struct configlist));
should be changed to
configlist = (struct configlist *)
RENEW(configlist, struct configlist, alloced);
to conform the rest of INN source.
Also, xstrdup should be dropped from the source and be replaced with COPY.
Sven
--
--Sven-Paulus----------28-48-32--3-----ub6v at rz.uni-karlsruhe.de------
--Karlstr.-55----------30--2-50-29-----sven at oops.inka.de-------------
--D-76133-Karlsruhe----44-49-10--8-----T#-49-721-9375094---------irc-
--PGP-ID-3C9A6091-------9-12-19-71-----F#-49-721-9375095-----svennie-
More information about the inn-bugs
mailing list