Skip to content

Commit

Permalink
Fix the printed versions (were opposite)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7e36540)
(cherry picked from commit ef95046)
  • Loading branch information
Tzah Mazuz committed Mar 19, 2020
1 parent 2505242 commit fa3644c
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 @@ -77,7 +77,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 != 10) {
Expand Down

0 comments on commit fa3644c

Please sign in to comment.