DA: Skip initializing failed_bssids list when eapol failure case
[platform/upstream/connman.git] / tools / polkit-test.c
old mode 100644 (file)
new mode 100755 (executable)
index 3df7d26..ea1d24a
@@ -2,7 +2,7 @@
  *
  *  Connection Manager
  *
- *  Copyright (C) 2007-2010  Intel Corporation. All rights reserved.
+ *  Copyright (C) 2007-2012  Intel Corporation. All rights reserved.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 2 as
@@ -142,7 +142,7 @@ static int check_authorization(DBusConnection *conn)
                return -EIO;
        }
 
-       if (dbus_message_has_signature(reply, "(bba{ss})") == TRUE) {
+       if (dbus_message_has_signature(reply, "(bba{ss})")) {
                dbus_message_iter_init(reply, &iter);
                print_arguments(&iter);
        }