Changeset 5375:2b4d1e027b2d in roaraudio for roarclients


Ignore:
Timestamp:
12/22/11 21:16:34 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

made some _LIBROAR_ATTR_TO_STATIC functions static

Location:
roarclients
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarradio.c

    r5238 r5375  
    125125    file = "/"; 
    126126 
    127     if ( (in = roar_socket_connect(host, port)) == -1 ) { 
     127    if ( (in = roar_socket_connect(ROAR_SOCKET_TYPE_UNKNOWN, host, port)) == -1 ) { 
    128128     ROAR_ERR("can not connect to remote server %s (port %i): %s", host, port, strerror(errno)); 
    129129     return 0; 
     
    132132    *file = 0; 
    133133 
    134     if ( (in = roar_socket_connect(host, port)) == -1 ) { 
     134    if ( (in = roar_socket_connect(ROAR_SOCKET_TYPE_UNKNOWN, host, port)) == -1 ) { 
    135135     ROAR_ERR("can not connect to remote server %s (port %i): %s", host, port, strerror(errno)); 
    136136     return 0; 
  • roarclients/roarsockconnect.c

    r4708 r5375  
    4545 port     = atoi(argv[2]); 
    4646 
    47  if ( (fh = roar_socket_connect(argv[1], port)) == -1 ) { 
     47 if ( (fh = roar_socket_connect(ROAR_SOCKET_TYPE_UNKNOWN, argv[1], port)) == -1 ) { 
    4848  ROAR_ERR("Error: can not connect!"); 
    4949  return 1; 
Note: See TracChangeset for help on using the changeset viewer.