From b1c6575bc67da0ae1424725c05d4c9c6e3df9db8 Mon Sep 17 00:00:00 2001 From: Kevin Wasserman Date: Tue, 26 Mar 2013 10:05:24 -0400 Subject: [PATCH] Fix logic for checking for null idcard --- src/moonshot-server.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moonshot-server.vala b/src/moonshot-server.vala index 267b670..24077c4 100644 --- a/src/moonshot-server.vala +++ b/src/moonshot-server.vala @@ -267,7 +267,7 @@ public class MoonshotServer : Object { var id_card = request.id_card; - if (id_card == null) { + if (id_card != null) { // The strings are freed by the RPC runtime nai_out = id_card.nai; password_out = id_card.password; -- 2.1.4