Changeset 1616:d78fb6c03fc0 in roaraudio


Ignore:
Timestamp:
04/26/09 02:38:29 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

cleanup of a lot warnings -> dbg

Location:
libroar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_dstr.c

    r1365 r1616  
    309309 chain[cc].type = ROAR_VIO_DSTR_OBJT_EOL; 
    310310 
    311  ROAR_WARN("roar_vio_open_dstr_vio(*): chain=%p", chain); 
     311 ROAR_DBG("roar_vio_open_dstr_vio(*): chain=%p", chain); 
    312312 
    313313 if ( roar_vio_dstr_parse_opts(chain) == -1 ) { 
     
    375375 
    376376  ROAR_DBG("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s)", i, c->type & 0xFFFF, roar_vio_dstr_get_name(c->type)); 
    377   ROAR_WARN("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s): c->def=%p, c->def->type=%i", i, c->type & 0xFFFF, 
     377  ROAR_DBG("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s): c->def=%p, c->def->type=%i", i, c->type & 0xFFFF, 
    378378                   roar_vio_dstr_get_name(c->type), c->def, c->def == NULL ? -1 : c->def->type); 
    379379 
     
    560560                    next->def, next->def == NULL ? -1 : next->def->type); 
    561561   if ( next->def != NULL ) { 
    562     ROAR_WARN("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s): next->def->o_flags=%i", i, 
     562    ROAR_DBG("roar_vio_dstr_set_defaults(*): i=%i, c->type=0x%.4x(%s): next->def->o_flags=%i", i, 
    563563                     c->type & 0xFFFF, roar_vio_dstr_get_name(c->type), 
    564564                     next->def->o_flags); 
     
    570570 } 
    571571 
    572  ROAR_WARN("roar_vio_dstr_set_defaults(*) = 0"); 
     572 ROAR_DBG("roar_vio_dstr_set_defaults(*) = 0"); 
    573573 
    574574 return 0; 
    575575} 
    576576 
    577 #define _ret(x) roar_vio_close(calls); ROAR_WARN("roar_vio_dstr_build_chain(*) = %i", (x)); return (x) 
     577#define _ret(x) roar_vio_close(calls); ROAR_DBG("roar_vio_dstr_build_chain(*) = %i", (x)); return (x) 
    578578 
    579579int     roar_vio_dstr_build_chain(struct roar_vio_dstr_chain * chain, struct roar_vio_calls * calls, 
     
    584584 int i; 
    585585 
    586  ROAR_WARN("roar_vio_dstr_build_chain(*) = ?"); 
     586 ROAR_DBG("roar_vio_dstr_build_chain(*) = ?"); 
    587587 
    588588 if ( chain == NULL || calls == NULL ) 
     
    692692 } 
    693693 
    694  ROAR_WARN("roar_vio_dstr_build_chain(*) = 0"); 
     694 ROAR_DBG("roar_vio_dstr_build_chain(*) = 0"); 
    695695 return 0; 
    696696} 
  • libroar/vio_proto.c

    r1439 r1616  
    6666  *ed = 0; 
    6767 
    68  ROAR_WARN("roar_vio_proto_init_def(*): def->o_flags=%i", def->o_flags); 
     68 ROAR_DBG("roar_vio_proto_init_def(*): def->o_flags=%i", def->o_flags); 
    6969 
    7070 ret = roar_vio_socket_init_dstr_def(def, dstr, -1, SOCK_STREAM, def); 
    7171 
    72  ROAR_WARN("roar_vio_proto_init_def(*): def->o_flags=%i", def->o_flags); 
     72 ROAR_DBG("roar_vio_proto_init_def(*): def->o_flags=%i", def->o_flags); 
    7373 
    7474 if ( ed != NULL ) 
     
    8787 char * tmp; 
    8888 
    89  ROAR_WARN("roar_vio_open_proto(calls=%p, dst=%p, dstr='%s', proto=%i, odef=%p) = ?", calls, dst, dstr, proto, odef); 
     89 ROAR_DBG("roar_vio_open_proto(calls=%p, dst=%p, dstr='%s', proto=%i, odef=%p) = ?", calls, dst, dstr, proto, odef); 
    9090 
    9191 if ( calls == NULL || dst == NULL || odef == NULL ) 
    9292  return -1; 
    9393 
    94  ROAR_WARN("roar_vio_open_proto(*): odef->o_flags=%i", odef->o_flags); 
     94 ROAR_DBG("roar_vio_open_proto(*): odef->o_flags=%i", odef->o_flags); 
    9595 ROAR_DBG("roar_vio_open_proto(*) = ?"); 
    9696 
     
    129129 
    130130 ROAR_DBG("roar_vio_open_proto(*) = ?"); 
    131  ROAR_WARN("roar_vio_open_proto(*): proto=%i, host='%s', file='%s'", proto, host, dstr); 
     131 ROAR_DBG("roar_vio_open_proto(*): proto=%i, host='%s', file='%s'", proto, host, dstr); 
    132132 
    133133 switch (proto) { 
     
    176176  return -1; 
    177177 
    178  ROAR_WARN("roar_vio_open_proto_http(*): status=%i", status); 
     178 ROAR_DBG("roar_vio_open_proto_http(*): status=%i", status); 
    179179// ROAR_WARN("roar_vio_open_proto_http(*): buf='%s'", buf); 
    180180 
  • libroar/vio_socket.c

    r1470 r1616  
    199199  dstr = ""; 
    200200 
    201  ROAR_WARN("roar_vio_socket_init_dstr_def(def=%p, dstr='%s', hint=%i, type=%i, odef=%p) = ?", def, dstr, hint, type, odef); 
     201 ROAR_DBG("roar_vio_socket_init_dstr_def(def=%p, dstr='%s', hint=%i, type=%i, odef=%p) = ?", def, dstr, hint, type, odef); 
    202202 
    203203 if ( hint == -1 ) { 
Note: See TracChangeset for help on using the changeset viewer.