Changeset 2015:10899eb73996 in roaraudio


Ignore:
Timestamp:
06/16/09 13:29:20 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

cleanup: ROAR_WARN() -> ROAR_DBG()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/slp.c

    r2014 r2015  
    159159 
    160160 if ( nocache || cache.tod < time(NULL) ) { 
     161#ifdef DEBUG 
    161162  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."); 
    163164  } 
    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..."); 
    165167  ROAR_DBG("roar_slp_find_roard_r(*) = ?"); 
    166168 
     
    182184  url = cookie.match[0].url; 
    183185 
    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"); 
    185187  memcpy(&cache, &(cookie.match[0]), sizeof(cache)); 
    186188 } 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."); 
    188190  url = cache.url; 
    189191 } 
Note: See TracChangeset for help on using the changeset viewer.