Changeset 527:87baa26bd2fb in roaraudio


Ignore:
Timestamp:
08/16/08 01:52:17 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added IPX/SPX and display errno on error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarsocktypes.c

    r511 r527  
    1616  {"DECnet seqpacket", roar_socket_new_decnet_seqpacket}, 
    1717  {"DECnet stream"   , roar_socket_new_decnet_stream}, 
     18  {"IPX/SPX"         , roar_socket_new_ipxspx}, 
    1819  {NULL, NULL} 
    1920 }; 
     
    2122 for (i = 0; tests[i].func; i++) { 
    2223  printf("Type %-16s ", tests[i].name); 
     24  errno = 0; 
    2325  fh = tests[i].func(); 
    2426  if ( fh == -1 ) { 
    25    printf("not working\n"); 
     27   printf("not working: %s\n", strerror(errno)); 
    2628  } else { 
    2729   close(fh); 
Note: See TracChangeset for help on using the changeset viewer.