Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ft/logger/logger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ int toku_logger_find_logfiles (const char *directory, char ***resultp, int *n_lo
// which are one character longer than old log file names ("xxx.tokulog2"). The comparison function
// won't look beyond the terminating NUL, so an extra character in the comparison string doesn't matter.
// Allow room for terminating NUL after "xxx.tokulog13" even if result[0] is of form "xxx.tokulog2."
int width = sizeof(result[0]+2);
int width = sizeof(result[0]) + 2;
qsort(result, n_results, width, logfilenamecompare);
*resultp = result;
*n_logfiles = n_results;
Expand Down