kopia lustrzana https://github.com/Hamlib/Hamlib
Fix testcache.c to avoid modifying constant
rodzic
dd376a1267
commit
dbdf86fa9a
|
@ -64,8 +64,10 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (info_buf)
|
||||
{
|
||||
strtok(info_buf, "\r\n");
|
||||
printf("Rig_info: '%s'\n", info_buf);
|
||||
char *s = strdup(info_buf);
|
||||
strtok(s, "\r\n");
|
||||
printf("Rig_info: '%s'\n", s);
|
||||
free(s);
|
||||
}
|
||||
|
||||
vfo_t vfo;
|
||||
|
|
Ładowanie…
Reference in New Issue