Skip to content

Commit

Permalink
Fix the printed versions (were opposite)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzah Mazuz committed Mar 16, 2020
1 parent 8928abd commit 7e36540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main/java/com/genymobile/scrcpy/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private static Options createOptions(String... args) {
String clientVersion = args[0];
if (!clientVersion.equals(BuildConfig.VERSION_NAME)) {
throw new IllegalArgumentException(
"The server version (" + clientVersion + ") does not match the client " + "(" + BuildConfig.VERSION_NAME + ")");
"The server version (" + BuildConfig.VERSION_NAME + ") does not match the client " + "(" + clientVersion + ")");
}

if (args.length != 9) {
Expand Down

0 comments on commit 7e36540

Please sign in to comment.