diff --git a/tools/csvparser.c b/tools/csvparser.c index e67e51efae..259d7c7662 100644 --- a/tools/csvparser.c +++ b/tools/csvparser.c @@ -213,7 +213,7 @@ int parse_csvline(char *ptr) do { - if (nparams >= MAX_FIELDS) + if (nparms >= MAX_FIELDS) { fprintf(stderr, "%d: Too many Parameters: \"%s\"\n", g_lineno, g_line); exit(8);