[BACK]Return to sndiod.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sndiod

Diff for /src/usr.bin/sndiod/sndiod.c between version 1.15 and 1.16

version 1.15, 2015/11/23 12:33:20 version 1.16, 2015/11/24 12:14:08
Line 377 
Line 377 
                         background = 0;                          background = 0;
                         break;                          break;
                 case 'U':                  case 'U':
                         if (listen_list)  
                                 errx(1, "-U must come before -L");  
                         unit = strtonum(optarg, 0, 15, &str);                          unit = strtonum(optarg, 0, 15, &str);
                         if (str)                          if (str)
                                 errx(1, "%s: unit number is %s", optarg, str);                                  errx(1, "%s: unit number is %s", optarg, str);
Line 470 
Line 468 
         listen_new_un(path);          listen_new_un(path);
         if (tcpaddr) {          if (tcpaddr) {
 #ifdef USE_TCP  #ifdef USE_TCP
                 listen_new_tcp(optarg, AUCAT_PORT + unit);                  listen_new_tcp(tcpaddr, AUCAT_PORT + unit);
 #else  #else
                 errx(1, "-L option disabled at compilation time");                  errx(1, "-L option disabled at compilation time");
 #endif  #endif

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16