[vlc-devel] [PATCH] src: Win32: add message categories to debug logs

Jean-Baptiste Kempf jb at videolan.org
Sun Feb 3 10:36:43 CET 2013


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



More information about the vlc-devel mailing list