On Fri, Jan 28, 2011 at 11:14:00PM -0800, Alan Coopersmith wrote:
> Simpler than trying to calculate the size to malloc.
> 
> Could have used XtAsprintf() but didn't seem worth the dependency
> for two simple calls with a standard, well-known maximum size.
> 
> Signed-off-by: Alan Coopersmith <[email protected]>
> ---
>  main.c |    6 +++---
>  misc.c |   11 +++--------
>  2 files changed, 6 insertions(+), 11 deletions(-)

Reviewed-by: Dirk Wallenstein <[email protected]>

-- 
Greetings,
Dirk
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to