[vlc-devel] [PATCH 3/4] sap: disable IPv6 codes on OS/2

Rémi Denis-Courmont remi at remlab.net
Tue Feb 5 08:54:11 CET 2013


On Tue, 05 Feb 2013 11:48:36 +0900, KO Myung-Hun <komh78 at gmail.com> wrote:
> KO Myung-Hun wrote:
>> ---
>>  modules/services_discovery/sap.c |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>> 
>> diff --git a/modules/services_discovery/sap.c
>> b/modules/services_discovery/sap.c
>> index faf5b22..89fb275 100644
>> --- a/modules/services_discovery/sap.c
>> +++ b/modules/services_discovery/sap.c
>> @@ -511,12 +511,14 @@ static void *Run( void *data )
>>  #endif
>>      *strchr (psz_address, '%') = '\0';
>>  
>> +#ifndef __OS2__
>>      static const char ipv6_scopes[] = "1456789ABCDE";
>>      for (const char *c_scope = ipv6_scopes; *c_scope; c_scope++)
>>      {
>>          psz_address[3] = *c_scope;
>>          InitSocket( p_sd, psz_address, SAP_PORT );
>>      }
>> +#endif
>>  
>>      psz_addr = var_CreateGetString( p_sd, "sap-addr" );
>>      if( psz_addr && *psz_addr )
> 
> Ping ?

Why is this needed?

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list