mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 07:26:52 +01:00
Cast from std::string to c_str
Signed-off-by: Benjamin Aigner <aignerb@technikum-wien.at>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user