[vlc-devel] vlc: svn commit r23535 (ivoire)

Remi Denis-Courmont rem at videolan.org
Tue Dec 11 15:59:20 CET 2007


On Tue, 11 Dec 2007 12:14:30 +0100, Rémi Duraffort <ivoire at via.ecp.fr>
wrote:
>> > p_update->release.psz_svnrev = psz_svnrev ? psz_svnrev : STRDUP( "" );
>> Why not just use p_update->release.psz_svnrev = psz_svnrev ? psz_svnrev
> :
>> NULL ?
> Because if we set psz_svnsern to NULL the strcmp segfault.

strdup() can return NULL anyway though...

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list