From 927903fc21b56d44d696386b8dfc7917946973e3 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Fri, 26 Jun 2020 11:33:17 -0700 Subject: [PATCH] fix message for outgoing sd --- QnetGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetGateway.cpp b/QnetGateway.cpp index 5665212..3bcc537 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -954,7 +954,7 @@ void CQnetGateway::ProcessOutGoingSD(const SDSVT &dsvt, const int i) } if (showLastHeard && (i < 3) && memcmp(toRptr[i].saved_hdr.hdr.sfx, "RPTR", 4) && memcmp(sd.message, "VIA SMARTGP", 11)) { char call[CALL_SIZE+1]; - memcpy(call, toRptr[i].saved_hdr.hdr.mycall, CALL_SIZE); + memcpy(call, band_txt[i].mycall.c_str(), CALL_SIZE); call[CALL_SIZE] = '\0'; qnDB.UpdateMessage(call, (const char *)&(sd.message)); }