This commit is contained in:
2019-03-18 09:19:04 +01:00
parent c0d5303b70
commit fad73a57aa
2 changed files with 5 additions and 5 deletions

View File

@ -426,7 +426,7 @@ int slsReceiverTCPIPInterface::set_port() {
} catch(SocketError &e) {
ret = FAIL;
// same socket, could not bind port
sprintf(mess, e.what());
sprintf(mess, "%s", e.what());
FILE_LOG(logERROR) << mess;
} catch (...) {
ret = FAIL;