[vlc-devel] Patch for multicast output interface choice on win32
Rafaël Carré
funman at videolan.org
Tue Mar 25 01:21:54 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le Tue, 25 Mar 2008 01:54:12 +0200 (EET),
upb <upb at preteam.org> a écrit :
> diff -urN vlc-0.8.6e/src/network/io.c
> vlc-0.8.6e.patched/src/network/io.c --- vlc-0.8.6e/src/network/io.c
> 2007-11-22 00:23:06.000000000 +0200 +++
> vlc-0.8.6e.patched/src/network/io.c 2008-03-25 00:52:43.669250000
> +0200 @@ -541,7 +541,11 @@ char *workaround_for_ill_designed_api =
> strdup( src ); #endif
>
> - if( !WSAStringToAddress( workaround_for_ill_designed_api, af,
> NULL,
> + /*
> + Workaround for crappy developers who don't have time to read
> MSDN
> + because they have to write bitchy comments.
> + */
> + if( 0 != WSAStringToAddress( workaround_for_ill_designed_api,
> af, NULL, (LPSOCKADDR)&addr, &len ) )
> {
> free( workaround_for_ill_designed_api );
Thanks for your funny patch, I didn't push the comments however :)
If you want to address flames personally, you can use git-log /
git-blame to find the culprit.
- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
iEYEARECAAYFAkfoRaQACgkQYWCeGMCv8Q9VjACfU9OSAODVWruR+2nm5tymzL3B
2rMAoIaXibA7O/u8iewpECOob8NAV1uy
=iUI1
-----END PGP SIGNATURE-----
More information about the vlc-devel
mailing list