Changeset 2014:6646d9a2113a in roaraudio for libroar/basic.c
- Timestamp:
- 06/16/09 13:26:54 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/basic.c
r2010 r2014 107 107 108 108 #ifdef ROAR_HAVE_LIBSLP 109 if ( (server = roar_slp_find_roard()) != NULL ) { 110 return roar_connect_raw(server); 111 } else { 112 return -1; 113 } 114 #endif 109 if ( (server = roar_slp_find_roard(0)) != NULL ) 110 if ( (fh = roar_connect_raw(server)) != -1 ) 111 return fh; 112 113 /* in case we can not connect to the server given this may be a cache problem, 114 we do a new lookup with the cache disabled in this case */ 115 ROAR_WARN("roar_connect_raw(*): Can not connect to SLP located server, disabling cache"); 116 if ( (server = roar_slp_find_roard(1)) != NULL ) 117 if ( (fh = roar_connect_raw(server)) != -1 ) 118 return fh; 119 #endif 120 121 return -1; 115 122 116 123 } else {
Note: See TracChangeset
for help on using the changeset viewer.