Changeset 3078:75efac535f8b in roaraudio for libroar/vio_proto.c


Ignore:
Timestamp:
01/08/10 16:41:55 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

support protocol name ICY, identical to HTTP at the moment but defaults to port 8000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_proto.c

    r3068 r3078  
    4545 
    4646 switch (proto) { 
    47   case ROAR_VIO_PROTO_P_HTTP:    port = 80; break; 
    48   case ROAR_VIO_PROTO_P_GOPHER:  port = 70; break; 
     47  case ROAR_VIO_PROTO_P_HTTP:    port =   80; break; 
     48  case ROAR_VIO_PROTO_P_GOPHER:  port =   70; break; 
     49  case ROAR_VIO_PROTO_P_ICY:     port = 8000; break; 
    4950  default: 
    5051    return -1; 
     
    150151 switch (proto) { 
    151152  case ROAR_VIO_PROTO_P_HTTP: 
     153  case ROAR_VIO_PROTO_P_ICY: 
    152154    return roar_vio_open_proto_http(calls, dst, host, dstr); 
    153155   break; 
Note: See TracChangeset for help on using the changeset viewer.