mirror of
https://github.com/Genymobile/scrcpy
synced 2025-09-03 15:55:46 +00:00
Fix error message
This commit is contained in:
@@ -315,7 +315,7 @@ static bool
|
|||||||
parse_port(char *optarg, uint16_t *port) {
|
parse_port(char *optarg, uint16_t *port) {
|
||||||
char *endptr;
|
char *endptr;
|
||||||
if (*optarg == '\0') {
|
if (*optarg == '\0') {
|
||||||
LOGE("Invalid port parameter is empty");
|
LOGE("Port parameter is empty");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
long value = strtol(optarg, &endptr, 0);
|
long value = strtol(optarg, &endptr, 0);
|
||||||
|
Reference in New Issue
Block a user