[logline] update for shared_buffer change

This commit is contained in:
Timothy Stack 2014-02-26 08:12:09 -08:00
parent 33fe23a325
commit 83f7013e7f

View File

@ -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++;
}
};