mirror of https://github.com/Icinga/icinga2.git
parent
e8759a12a5
commit
e693486dae
|
@ -122,6 +122,7 @@ String StackTrace::Addr2Line(const String& exe, uintptr_t rva)
|
||||||
|
|
||||||
char buffer[512];
|
char buffer[512];
|
||||||
fgets(buffer, sizeof(buffer), fp);
|
fgets(buffer, sizeof(buffer), fp);
|
||||||
|
fclose(fp);
|
||||||
|
|
||||||
String line = buffer;
|
String line = buffer;
|
||||||
boost::algorithm::trim_right(line);
|
boost::algorithm::trim_right(line);
|
||||||
|
|
Loading…
Reference in New Issue