diff options
-rw-r--r-- | src/connection.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 9f6896c62..12e83d2e5 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -357,6 +357,7 @@ bool connection::RecvPacket(char *message, char* host, int &prt, long &theirkey) pb.p.id = p.id; pb.p.key = p.key; pb.p.type = p.type; + strcpy(pb.p.data,p.data); strcpy(pb.host,inet_ntoa(host_address.sin_addr)); pb.port = ntohs(host_address.sin_port); this->buffer.push_back(pb); |