kopia lustrzana https://github.com/Hamlib/Hamlib
Fix memset in kenwood.c
rodzic
41580890a9
commit
2f3618e585
|
@ -439,7 +439,7 @@ int kenwood_safe_transaction(RIG *rig, const char *cmd, char *buf,
|
||||||
int err;
|
int err;
|
||||||
int retry = 0;
|
int retry = 0;
|
||||||
|
|
||||||
memset(buf,buf_size,0);
|
memset(buf,0, buf_size);
|
||||||
|
|
||||||
if (expected == 0)
|
if (expected == 0)
|
||||||
buf_size = 0;
|
buf_size = 0;
|
||||||
|
|
Ładowanie…
Reference in New Issue