Commit 3fd806fb authored by jan.koester's avatar jan.koester
Browse files

mem fix

parent f1431ac1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -78,9 +78,10 @@ void gameinfo::HldsView::refresh(HldsData &info){

    size_t rcv=0;
    try{
        netplus::buffer send(A2S_INFO_PAYLOAD_LEN_WITHOUT_CHALLENGE);
        netplus::buffer send(A2S_INFO_PAYLOAD_LEN_WITH_CHALLENGE);
        memcpy(send.data.buf, payload_template, A2S_INFO_PAYLOAD_LEN_WITHOUT_CHALLENGE);

        send.size=A2S_INFO_PAYLOAD_LEN_WITHOUT_CHALLENGE;

        clientSocket->sendData(send);