diff options
| author | Thomas Schmucker <ts@its1.de> | 2025-04-10 22:43:55 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2025-04-10 22:43:55 +0200 |
| commit | 0140964a5972f10312f3b93c23f4903f510c09e8 (patch) | |
| tree | 65403318c4071046043872c63ad3b476c5ffddf9 /csv.c | |
| parent | 41d8eaca5bbe16144cbb0d98c8522c8f6a137c1d (diff) | |
| download | libcsv-0140964a5972f10312f3b93c23f4903f510c09e8.tar.gz libcsv-0140964a5972f10312f3b93c23f4903f510c09e8.tar.bz2 libcsv-0140964a5972f10312f3b93c23f4903f510c09e8.zip | |
minor changes
Diffstat (limited to 'csv.c')
| -rw-r--r-- | csv.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -260,7 +260,7 @@ csv_field(const csv_t *const csv, size_t idx) | |||
| 260 | assert(csv != NULL); | 260 | assert(csv != NULL); |
| 261 | assert(idx >= 0 && idx < csv->csv_field.pos); | 261 | assert(idx >= 0 && idx < csv->csv_field.pos); |
| 262 | 262 | ||
| 263 | if ( idx < 0 || idx >= csv->csv_field.pos ) { | 263 | if ( idx >= csv->csv_field.pos ) { |
| 264 | csv_fatal_error(CSV_ERR_OUT_OF_RANGE, csv->csv_options); | 264 | csv_fatal_error(CSV_ERR_OUT_OF_RANGE, csv->csv_options); |
| 265 | return NULL; | 265 | return NULL; |
| 266 | } | 266 | } |
