Various small fixes to 4.6.2-pre1

Oswald Buddenhagen ossi at kde.org
Thu Nov 1 19:24:32 UTC 2007


On Thu, Nov 01, 2007 at 04:48:02PM +0100, Vladimir Nadvornik wrote:
> --- mc-4.6.2-pre1/vfs/smbfs.c
> -    result = g_strconcat (my_remote, trailing_asterik ? "/*" : "", 0);
> +    result = g_strconcat (my_remote, trailing_asterik ? "/*" : "", (char *) NULL);
>
the use of NULL is discouraged, at least in c++. it doesn't add value
anyway.

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



More information about the mc-devel mailing list