Changeset 5249:26fb6a2e20fc in roaraudio for roarclients/roarvorbis.c


Ignore:
Timestamp:
11/13/11 15:01:24 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvorbis.c

    r5139 r5249  
    391391      case we (the app) cares.  In this case, we don't. */ 
    392392  } else { 
    393    roar_vs_write(vss, pcmout, ret, NULL); 
     393   if ( roar_vs_write(vss, pcmout, ret, NULL) != (ssize_t)ret ) { 
     394    fprintf(stderr, "\nError: Can not write to server.\n"); 
     395    eof = 1; 
     396    continue; 
     397   } 
    394398   bits_written += ret * 8; 
    395399   if ( bits_written > bits_per_sec ) { 
Note: See TracChangeset for help on using the changeset viewer.