Changeset 4775:9f4ca59b800b in roaraudio


Ignore:
Timestamp:
03/10/11 13:54:53 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

ignore OpenSLP for enumdev if disabled by config (WAS_NO_SLP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/enumdev.c

    r4708 r4775  
    119119 
    120120static ssize_t _esl_slp(int flags, int dir, int socktype, char ** servers, size_t maxlen) { 
     121 struct roar_libroar_config * config = roar_libroar_get_config(); 
    121122 struct roar_slp_cookie cookie; 
    122123 int offset; 
     
    124125 size_t i; 
    125126 ssize_t ret = 0; 
     127 
     128 if ( config->workaround.workarounds & ROAR_LIBROAR_CONFIG_WAS_NO_SLP ) 
     129  return 0; 
    126130 
    127131 if ( roar_slp_cookie_init(&cookie, NULL) == -1 ) 
Note: See TracChangeset for help on using the changeset viewer.