Changeset 3720:8dbb17e15f1e in roaraudio for roard
- Timestamp:
- 04/25/10 05:33:54 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/req.c
r3714 r3720 292 292 int req_on_passfh (int client, struct roar_message * mes, char * data) { 293 293 int sock = clients_get_fh(client); 294 int16_t * d = (int16_t*) data;294 int16_t * d = (int16_t*)mes->data; 295 295 int fh; 296 296 int i; … … 299 299 return -1; 300 300 301 if ( mes->stream != -1 ) { // stream pass:301 if ( (int16_t)mes->stream != -1 ) { // stream pass: 302 302 if ( client_stream_set_fh(client, mes->stream, fh) == -1 ) { 303 303 close(fh); … … 351 351 mes->cmd = ROAR_CMD_OK; 352 352 353 return -1;353 return 0; 354 354 } 355 355
Note: See TracChangeset
for help on using the changeset viewer.