Fix compile warning on strncat in flrig.c

pull/149/head
Michael Black 2019-12-01 22:27:54 -06:00
rodzic 23d22439b7
commit d944c2951a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -233,7 +233,7 @@ static int check_vfo(vfo_t vfo)
*/
static char *xml_build(char *cmd, char *value, char *xmlbuf, int xmlbuflen)
{
char xml[MAXXMLLEN];
char xml[4096]; // we shouldn't need more the 4096 bytes for this
// We want at least a 4K buf to play with
if (xmlbuflen < 4096)