mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
1064dc28fc
commit
09ad04b09a
@ -829,7 +829,7 @@ String Utility::FormatErrorNumber(int code) {
|
||||
msgbuf << code << ", \"" << result << "\"";
|
||||
return tmp.str();
|
||||
#else
|
||||
msgbuf << gai_strerror(code) << std::endl;
|
||||
msgbuf << strerror(code);
|
||||
#endif
|
||||
return msgbuf.str();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user