mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +00:00
Fix error message
This commit is contained in:
parent
59073223aa
commit
1b78a77962
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue