Skip to content

Commit cf6f4c9

Browse files
ashgtilabath
andauthored
Update lldb/tools/lldb-dap/OutputRedirector.cpp
Co-authored-by: Pavel Labath <[email protected]>
1 parent 941df40 commit cf6f4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/OutputRedirector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Error OutputRedirector::RedirectTo(std::function<void(StringRef)> callback) {
6969
if (data.empty())
7070
break;
7171

72-
callback(StringRef(buffer, bytes_count));
72+
callback(data);
7373
}
7474
::close(read_fd);
7575
});

0 commit comments

Comments
 (0)