Changeset 1616:d78fb6c03fc0 in roaraudio
- Timestamp:
- 04/26/09 02:38:29 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libroar
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_dstr.c
r1365 r1616 309 309 chain[cc].type = ROAR_VIO_DSTR_OBJT_EOL; 310 310 311 ROAR_ WARN("roar_vio_open_dstr_vio(*): chain=%p", chain);311 ROAR_DBG("roar_vio_open_dstr_vio(*): chain=%p", chain); 312 312 313 313 if ( roar_vio_dstr_parse_opts(chain) == -1 ) { … … 375 375 376 376 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, 378 378 roar_vio_dstr_get_name(c->type), c->def, c->def == NULL ? -1 : c->def->type); 379 379 … … 560 560 next->def, next->def == NULL ? -1 : next->def->type); 561 561 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, 563 563 c->type & 0xFFFF, roar_vio_dstr_get_name(c->type), 564 564 next->def->o_flags); … … 570 570 } 571 571 572 ROAR_ WARN("roar_vio_dstr_set_defaults(*) = 0");572 ROAR_DBG("roar_vio_dstr_set_defaults(*) = 0"); 573 573 574 574 return 0; 575 575 } 576 576 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) 578 578 579 579 int roar_vio_dstr_build_chain(struct roar_vio_dstr_chain * chain, struct roar_vio_calls * calls, … … 584 584 int i; 585 585 586 ROAR_ WARN("roar_vio_dstr_build_chain(*) = ?");586 ROAR_DBG("roar_vio_dstr_build_chain(*) = ?"); 587 587 588 588 if ( chain == NULL || calls == NULL ) … … 692 692 } 693 693 694 ROAR_ WARN("roar_vio_dstr_build_chain(*) = 0");694 ROAR_DBG("roar_vio_dstr_build_chain(*) = 0"); 695 695 return 0; 696 696 } -
libroar/vio_proto.c
r1439 r1616 66 66 *ed = 0; 67 67 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); 69 69 70 70 ret = roar_vio_socket_init_dstr_def(def, dstr, -1, SOCK_STREAM, def); 71 71 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); 73 73 74 74 if ( ed != NULL ) … … 87 87 char * tmp; 88 88 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); 90 90 91 91 if ( calls == NULL || dst == NULL || odef == NULL ) 92 92 return -1; 93 93 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); 95 95 ROAR_DBG("roar_vio_open_proto(*) = ?"); 96 96 … … 129 129 130 130 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); 132 132 133 133 switch (proto) { … … 176 176 return -1; 177 177 178 ROAR_ WARN("roar_vio_open_proto_http(*): status=%i", status);178 ROAR_DBG("roar_vio_open_proto_http(*): status=%i", status); 179 179 // ROAR_WARN("roar_vio_open_proto_http(*): buf='%s'", buf); 180 180 -
libroar/vio_socket.c
r1470 r1616 199 199 dstr = ""; 200 200 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); 202 202 203 203 if ( hint == -1 ) {
Note: See TracChangeset
for help on using the changeset viewer.