Changeset 2015:10899eb73996 in roaraudio
- Timestamp:
- 06/16/09 13:29:20 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/slp.c
r2014 r2015 159 159 160 160 if ( nocache || cache.tod < time(NULL) ) { 161 #ifdef DEBUG 161 162 if ( nocache ) { 162 ROAR_ WARN("roar_slp_find_roard_r(*): forced ignoring of cache, doing a new lookup.");163 ROAR_DBG("roar_slp_find_roard_r(*): forced ignoring of cache, doing a new lookup."); 163 164 } 164 ROAR_WARN("roar_slp_find_roard_r(*): cache too old, searching for a new server..."); 165 #endif 166 ROAR_DBG("roar_slp_find_roard_r(*): cache too old, searching for a new server..."); 165 167 ROAR_DBG("roar_slp_find_roard_r(*) = ?"); 166 168 … … 182 184 url = cookie.match[0].url; 183 185 184 ROAR_ WARN("roar_slp_find_roard_r(*): found new server, caching it");186 ROAR_DBG("roar_slp_find_roard_r(*): found new server, caching it"); 185 187 memcpy(&cache, &(cookie.match[0]), sizeof(cache)); 186 188 } else { 187 ROAR_ WARN("roar_slp_find_roard_r(*): cache within TTL, no need to search for server, using cache.");189 ROAR_DBG("roar_slp_find_roard_r(*): cache within TTL, no need to search for server, using cache."); 188 190 url = cache.url; 189 191 }
Note: See TracChangeset
for help on using the changeset viewer.