another try to make alpine compile
This commit is contained in:
@@ -69,7 +69,7 @@ int tcpConnToUdpOptions, int tcpKeepAliveInterval, struct in_addr* storeIntf) {
|
|||||||
struct in_addr intf;
|
struct in_addr intf;
|
||||||
intf.s_addr = INADDR_ANY;
|
intf.s_addr = INADDR_ANY;
|
||||||
if (pos) {
|
if (pos) {
|
||||||
char* str = (char*)strdupa(server); // (char*) needed for wrong return type on e.g. Alpine
|
char* str = reinterpret_cast<char*>(strdupa(server)); // (char*) needed for wrong return type on e.g. Alpine
|
||||||
char* ifa = strchr(str, '@');
|
char* ifa = strchr(str, '@');
|
||||||
ifa[0] = 0;
|
ifa[0] = 0;
|
||||||
ifa++;
|
ifa++;
|
||||||
|
|||||||
Reference in New Issue
Block a user