mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Fix profile update reading end of lines
This commit is contained in:
parent
12739fccdd
commit
7630688957
@ -259,7 +259,7 @@ void read_results(std::vector<volk_gnsssdr_test_results_t> *results, std::string
|
|||||||
found = 127;
|
found = 127;
|
||||||
}
|
}
|
||||||
str_size = config_str.size();
|
str_size = config_str.size();
|
||||||
char buffer[128];
|
char buffer[128] = {'\0'};
|
||||||
config_str.copy(buffer, found + 1, 0);
|
config_str.copy(buffer, found + 1, 0);
|
||||||
buffer[found] = '\0';
|
buffer[found] = '\0';
|
||||||
single_kernel_result.push_back(std::string(buffer));
|
single_kernel_result.push_back(std::string(buffer));
|
||||||
|
Loading…
Reference in New Issue
Block a user