mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-13 21:12:56 -04:00
[remote] Coverity fixups
This commit is contained in:
parent
dcb3973aa4
commit
933affaa7e
@ -764,7 +764,7 @@ remote_pairing_pair(const char *pin)
|
||||
return REMOTE_INVALID_PIN;
|
||||
}
|
||||
|
||||
strncpy(cmdarg, pin, sizeof(cmdarg));
|
||||
snprintf(cmdarg, sizeof(cmdarg), "%s", pin);
|
||||
|
||||
return commands_exec_sync(cmdbase, pairing_pair, NULL, &cmdarg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user