mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
[logline] update for shared_buffer change
This commit is contained in:
parent
33fe23a325
commit
83f7013e7f
@ -198,10 +198,17 @@ public:
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
values.push_back(logline_value("", logline_value::VALUE_TEXT, line));
|
||||
default: {
|
||||
shared_buffer_ref value_sbr;
|
||||
|
||||
value_sbr.subset(line,
|
||||
pvalue.e_capture.c_begin, pvalue.e_capture.length());
|
||||
values.push_back(logline_value("",
|
||||
logline_value::VALUE_TEXT, value_sbr));
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
values.back().lv_column = next_column++;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user