Changeset 5139:9ea5597fdaaf in roaraudio for roarclients


Ignore:
Timestamp:
10/01/11 16:34:42 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some small errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvorbis.c

    r4844 r5139  
    340340 } 
    341341 
    342  if ( roar_simple_connect(&con, server, "roarvorbis") == -1 ) { 
     342 if ( roar_simple_connect(&con, NULL, "roarvorbis") == -1 ) { 
    343343  ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 
    344344  roar_vio_close(&in); 
     
    360360   return 1; 
    361361  if ( roar_vio_open_dstr(&vclt, vcltfile, &def, 1) == -1 ) { 
    362    fprintf(stderr, "Error: can not open file: %s: %s\n", k, strerror(errno)); 
     362   fprintf(stderr, "Error: can not open file: %s: %s\n", vcltfile, strerror(errno)); 
    363363   roar_disconnect(&con); 
    364364   roar_vio_close(&in); 
Note: See TracChangeset for help on using the changeset viewer.