Changeset 4236:1d583a76aa06 in roaraudio
- Timestamp:
- 08/25/10 02:28:14 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/req.c
r4235 r4236 96 96 return -1; 97 97 98 ROAR_DBG("req_on_new_stream(client=%i, ...): stream=%i", client, stream); 99 98 100 ROAR_DBG("req_on_new_stream(client=%i, ...): getting stream...", client); 99 101 if ( streams_get(stream, (struct roar_stream_server **)&s) == -1 ) { … … 221 223 } 222 224 223 ROAR_DBG("req_on_new_stream(client=%i, ...): returning (OK )...", client);225 ROAR_DBG("req_on_new_stream(client=%i, ...): returning (OK, stream=%i)...", client, stream); 224 226 225 227 mes->cmd = ROAR_CMD_OK; … … 307 309 int i; 308 310 311 ROAR_DBG("req_on_passfh(client=%i, mes={stream=%i,...},...) = ?", client, mes->stream); 312 309 313 if ( (fh = roar_socket_recv_fh(sock, NULL, NULL)) == -1 ) 310 314 return -1; 311 315 316 ROAR_DBG("req_on_passfh(client=%i, mes={stream=%i,...},...): fh=%i", client, mes->stream, fh); 317 312 318 if ( mes->stream != -1 ) { // stream pass: 319 ROAR_DBG("req_on_passfh(client=%i, mes={stream=%i,...},...): This is a stream passfh", client, mes->stream); 320 313 321 if ( client_stream_set_fh(client, mes->stream, fh) == -1 ) { 314 322 close(fh); 323 ROAR_DBG("req_on_passfh(client=%i, mes={stream=%i,...},...): returning (ERROR)...", client, mes->stream); 315 324 return -1; 316 325 } 326 327 ROAR_DBG("req_on_passfh(client=%i, mes={stream=%i,...},...): returning (OK)...", client, mes->stream); 317 328 318 329 mes->datalen = 0; … … 323 334 324 335 // non-stream pass: 336 337 ROAR_DBG("req_on_passfh(client=%i, mes={stream=%i,...},...): This is a client passfh", client, mes->stream); 325 338 326 339 /* … … 363 376 return -1; 364 377 } 378 379 ROAR_DBG("req_on_passfh(client=%i, mes={stream=%i,...},...): returning (OK)...", client, mes->stream); 365 380 366 381 mes->datalen = 0;
Note: See TracChangeset
for help on using the changeset viewer.