cline.c

changeset 19
8bac9fd0629d
parent 16
bc9a0fefd892
child 20
43725438ac50
equal deleted inserted replaced
18:cae1294702aa 19:8bac9fd0629d
124 } 124 }
125 125
126 // Find tokens 126 // Find tokens
127 char* finder = strtok(suffix, ","); 127 char* finder = strtok(suffix, ",");
128 while (finder != NULL) { 128 while (finder != NULL) {
129 add_suffix(settings->suffixList, finder); 129 add_string(settings->suffixList, finder);
130 finder = strtok(NULL, ","); 130 finder = strtok(NULL, ",");
131 } 131 }
132 132
133 // Open directory 133 // Open directory
134 DIR *dir = opendir(directory); 134 DIR *dir = opendir(directory);

mercurial