fixed bug rx_hostname being hostname or ip in zmqsockt, and num packets correctly reflects num good frames

This commit is contained in:
Dhanya Maliakal
2017-05-18 10:53:29 +02:00
parent ea875a14f9
commit a276b6b7f5
3 changed files with 9 additions and 5 deletions

View File

@ -53,7 +53,6 @@ public:
if (ptr == NULL)
return;
strcpy(ip, ptr);
delete ptr;
}
sprintf (serverAddress, "tcp://%s:%d", ip, portno);