Cast from std::string to c_str

Signed-off-by: Benjamin Aigner <aignerb@technikum-wien.at>
This commit is contained in:
Benjamin Aigner
2017-06-12 13:20:22 +02:00
parent 8c4e4bbe8a
commit 46a799c5f6

View File

@@ -353,7 +353,7 @@ int UDPPort6::unicast(const uint8_t* buf, uint32_t length, SensorNetAddress* add
WRITELOG("errno in UDPPort::unicast(sendto): %d, %s\n",status,strerror(status));
}
WRITELOG("unicast sendto %s, port: %d length = %d\n", destStr,portStr,status);
WRITELOG("unicast sendto %s, port: %d length = %d\n", destStr,portStr.c_str(),status);
return status;
}