[vlc-devel] commit: telepathy: compute test only one time ( Rémi Duraffort )

Rémi Duraffort ivoire at videolan.org
Tue Mar 17 22:34:52 CET 2009


> >> telepathy: compute test only one time
> >> (and strlen("item-current") == 12)
> > 
> > Actually, you've changed the behavior, as the code was really equivalent to 
> > strcmp(), and not anymore (it won't compare the nul). I don't know what's 
> > right.
> Yes you're right. The problem is that I don't know what was the intended 
> result but I guess that it's just to compare that psz_var is equal to 
> "item-current". And so I might have changed strncmp to strcmp.
Finally I changed it back to strcmp. I seams to be the righ thing to do.


-- 
Rémi Duraffort | ivoire



More information about the vlc-devel mailing list