mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 14:09:51 -05:00
[remote] Coverity fixups
This commit is contained in:
@@ -764,7 +764,7 @@ remote_pairing_pair(const char *pin)
|
|||||||
return REMOTE_INVALID_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);
|
return commands_exec_sync(cmdbase, pairing_pair, NULL, &cmdarg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user