src/arguments.c

changeset 99
094eff4cfc03
parent 66
be2084398c37
equal deleted inserted replaced
98:09ad5d8ab860 99:094eff4cfc03
51 bool ret = *paropt == 0; 51 bool ret = *paropt == 0;
52 *paropt = 1; 52 *paropt = 1;
53 return ret; 53 return ret;
54 } 54 }
55 55
56 void parseCSL(char* csl, string_list_t* list) { 56 void parseCSL(char* csl, string_list* list) {
57 if (csl != NULL) { 57 if (csl != NULL) {
58 char* finder = strtok(csl, ","); 58 char* finder = strtok(csl, ",");
59 while (finder != NULL) { 59 while (finder != NULL) {
60 add_string(list, finder); 60 add_string(list, finder);
61 finder = strtok(NULL, ","); 61 finder = strtok(NULL, ",");

mercurial