Commit 231b13c0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Add const

parent 38311fb4
...@@ -475,7 +475,7 @@ VLC_EXPORT( void, vlc_freeaddrinfo, ( struct addrinfo * ) ); ...@@ -475,7 +475,7 @@ VLC_EXPORT( void, vlc_freeaddrinfo, ( struct addrinfo * ) );
* net_AddressIsMulticast: This function returns VLC_FALSE if the psz_addr does * net_AddressIsMulticast: This function returns VLC_FALSE if the psz_addr does
* not specify a multicast address or if the address is not a valid address. * not specify a multicast address or if the address is not a valid address.
*****************************************************************************/ *****************************************************************************/
static inline vlc_bool_t net_AddressIsMulticast( vlc_object_t *p_object, char *psz_addr ) static inline vlc_bool_t net_AddressIsMulticast( vlc_object_t *p_object, const char *psz_addr )
{ {
struct addrinfo hints, *res; struct addrinfo hints, *res;
vlc_bool_t b_multicast = VLC_FALSE; vlc_bool_t b_multicast = VLC_FALSE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment