INN commit: trunk (6 files)

Russ Allbery rra at stanford.edu
Thu Aug 9 18:02:33 UTC 2007


>     Date: Thursday, August 9, 2007 @ 06:18:03
>   Author: iulius
> Revision: 7639

> Use (v)asprintf instead of (v)snprintf.

Oh, sorry, looking at this, I realize that I gave you bad information.
asprintf itself will return NULL on failure to allocate memory.  To
duplicate the automatic checking of xmalloc, you want to use xasprintf or
xvasprintf here instead.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list