On 02 Feb, Edward Wang wrote :
> + int res = asprintf(&psz_msg, "%s %s%s: %s", p_item->psz_module,
> + p_item->psz_object_type, msg_type[type], msg);
> + if(res > 0) {
Why use the res variable?
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device