Skip to content

Commit 7807adb

Browse files
committed
corrected error from conflict resolution
1 parent 50c5974 commit 7807adb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ int freadMain(freadMainArgs _args) {
18221822
if (!fill && tt != ncol) INTERNAL_STOP("first line has field count %d but expecting %d", tt, ncol); // # nocov
18231823
if (verbose) {
18241824
DTPRINT(_(" Detected %d columns on line %d. This line is either column names or first data row. Line starts as: <<%s>>\n"),
1825-
tt, row1line, strlim(pos, 30));
1825+
tt, row1line, strlim(pos, (char[500]) {}, 30));
18261826
DTPRINT(_(" Quote rule picked = %d\n"), quoteRule);
18271827
DTPRINT(_(" fill=%s and the most number of columns found is %d\n"), fill ? "true" : "false", ncol);
18281828
}

0 commit comments

Comments
 (0)