freeradius-client rc_avpair_log() function

Alex Massover alex at jajah.com
Wed Feb 3 14:09:39 CET 2010


Hi, one more patch in addition to the previous one.

Nobody uses ppbuf in rc_conf struct anymore, and probably not supposed to, because shared buffer is not thread-safe. So this patch removes this buffer. 

> 
> Hi Alan,
> 
> Here's a patch attached.
> 
> > > Please tell me if that’s correct and I’ll make a simple patch
> > changing:
> > >
> > > rc_avpair_log(rc_handle *rh, VALUE_PAIR *pair)
> > >
> > > to
> > >
> > > rc_avpair_log(rc_handle *rh, VALUE_PAIR *pair, char *buf, size_t l)
> >
> >   That's a good idea, thanks.
> >
> >   Alan DeKok.
> 
> This mail was sent via Mail-SeCure System.
> 
> This mail was received via Mail-SeCure System.

This mail was sent via Mail-SeCure System.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_ppbuf_from_rc_conf.patch
Type: application/octet-stream
Size: 787 bytes
Desc: remove_ppbuf_from_rc_conf.patch
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20100203/6b843e60/attachment.obj>


More information about the Freeradius-Devel mailing list