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

Diff for /src/usr.bin/aucat/aucat.c between version 1.103 and 1.104

version 1.103, 2010/08/19 06:31:06 version 1.104, 2010/08/20 06:56:54
Line 30 
Line 30 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
 #include <varargs.h>  
   
 #include "abuf.h"  #include "abuf.h"
 #include "aparams.h"  #include "aparams.h"
Line 181 
Line 180 
         char *p = optarg;          char *p = optarg;
         size_t len;          size_t len;
   
         for (p = optarg; *p != NULL; p++) {          for (p = optarg; *p != '\0'; p++) {
                 len = strcspn(p, ",");                  len = strcspn(p, ",");
                 if (strncmp("play", p, len) == 0) {                  if (strncmp("play", p, len) == 0) {
                         mode |= MODE_PLAY;                          mode |= MODE_PLAY;

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104