]> granicus.if.org Git - sudo/commitdiff
Undo an incorrect int -> bool conversion.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 28 Mar 2012 14:51:22 +0000 (10:51 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 28 Mar 2012 14:51:22 +0000 (10:51 -0400)
plugins/sudoers/sudoreplay.c

index db98e6cc2080bb3e717970b49f7bbc40842dfcb8..b8930ff7c967cbd6f79771e823af776062fe24d1 100644 (file)
@@ -633,7 +633,8 @@ static bool
 match_expr(struct search_node *head, struct log_info *log)
 {
     struct search_node *sn;
-    bool matched = true, rc;
+    bool matched = true;
+    int rc;
     debug_decl(match_expr, SUDO_DEBUG_UTIL)
 
     for (sn = head; sn; sn = sn->next) {