Skip to content

Commit

Permalink
Tweak style
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Aug 2, 2024
1 parent d290088 commit 9f451d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fruity/lockdown.vala
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ namespace Frida.Fruity {
}

private static LockdownError error_from_service (PlistServiceError e) {
if (e is PlistServiceError.CONNECTION_CLOSED)
if (e is PlistServiceError.CONNECTION_CLOSED)
return new LockdownError.CONNECTION_CLOSED ("%s", e.message);
return new LockdownError.PROTOCOL ("%s", e.message);
}
Expand All @@ -276,10 +276,10 @@ namespace Frida.Fruity {
}

public errordomain LockdownError {
CONNECTION_CLOSED,
INVALID_SERVICE,
NOT_PAIRED,
UNSUPPORTED,
PROTOCOL,
CONNECTION_CLOSED
PROTOCOL
}
}

0 comments on commit 9f451d0

Please sign in to comment.