diff --git a/src/csv_reader.c b/src/csv_reader.c index 49bb508..f65f86a 100644 --- a/src/csv_reader.c +++ b/src/csv_reader.c @@ -85,7 +85,12 @@ void read_csv_file(const char * filename) while (NULL != token) { - if (IS_DEBUG) printf("Field %d is %s\n", i++, token); // you can strcpy the `token` string in your data structures + if (IS_DEBUG) printf("Field %d is %s\n", i++, token); + + // ... + // you can strcpy the `token` string in your data structures + // ... + token = strtok(NULL, CSV_DELIMITERS); } } @@ -114,4 +119,4 @@ int main(int argc, char * argv[]) free(CSV_HEADER_FIELDS); return 0; -} \ No newline at end of file +} -- libgit2 0.21.2