This is just for clarity.  Noticed while preparing to add a
similar pass_memlimit option.

Signed-off-by: Jonathan Nieder <[email protected]>
---
 src/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index 78c34c3..ff09fa0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -546,7 +546,7 @@ void execbackend(const char *const *argv) {
   int offset = 0; /* offset for copying argv strings to nargv */
   int argc = 1;   /* for nargv */
   const char *const *arg = argv;
-  int pass_admindir = 0;
+  bool pass_admindir = false;
 
   while (*arg != NULL) {
     arg++; argc++;
@@ -559,7 +559,7 @@ void execbackend(const char *const *argv) {
   if (strcmp(cipaction->parg, DPKGQUERY) == 0 &&
       strcmp(admindir, ADMINDIR) != 0) {
     argc++;
-    pass_admindir = 1;
+    pass_admindir = true;
   }
 
   nargv = m_malloc(sizeof(char *) * (argc + 3));
-- 
1.6.5.rc1.199.g596ec


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to