summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp1
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);