[vlc-devel] Re: vlc: svn commit r15419 (courmisch)

Laurent Aimar fenrir at via.ecp.fr
Sat Apr 29 15:46:51 CEST 2006


On Sat, Apr 29, 2006, Subversion daemon wrote:
> r15419 | courmisch | 2006-04-29 15:38:50 +0200 (Sat, 29 Apr 2006) | 2 lines
> Changed paths:
>    M /trunk/modules/access/smb.c
> 
> Use strncpy() rather than strncat() when the destination is empty
 You tried an you loose ;)
 strncpy doesn't always add the \0 at the end while strncat does ...

-- 
fenrir

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list