Merge branch 'master' of https://github.com/zisi/Hamlib into zisi-master

pull/123/head
Nate Bargmann 2019-07-21 13:27:14 -05:00
commit e5a286dd23
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F72625E2EDBED598
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -314,8 +314,8 @@ static int easycomm_rot_get_conf(ROT *rot, token_t token, char *val) {
rig_debug(RIG_DEBUG_TRACE, "%s got response: %s\n", __FUNCTION__, ackbuf);
/* Return given string at correct position*/
val = &ackbuf[2]; /* CCxxxxxx */
/* Return given string at correct position*/
memcpy(val, ackbuf + 2, sizeof(ackbuf) - 2); /* CCxxxxxx */
return RIG_OK;
}