RooTicket.vala
[gitlive] / RooTicket.vala
index 6f940ac..3b6e486 100644 (file)
@@ -313,9 +313,9 @@ public class RooTicket : Object
                        parser.load_from_data (data, -1);
 
                        var response = parser.get_root().get_object();
-                       var status = response.get_boolean_member("success");
+                       var success = response.get_boolean_member("success");
                
-                       if(!status){
+                       if(!success){
                                GLib.error(response.get_string_member("errorMsg"));
                                return;
                        }