Imported Upstream version 1.24
[platform/upstream/connman.git] / tools / polkit-test.c
index 8ec1ce9..ea1d24a 100644 (file)
@@ -2,7 +2,7 @@
  *
  *  Connection Manager
  *
- *  Copyright (C) 2007-2009  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);
        }