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