diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.h | 2 | ||||
-rw-r--r-- | src/verify.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main.h b/src/main.h index a20513ff0..57854277f 100644 --- a/src/main.h +++ b/src/main.h @@ -178,7 +178,7 @@ int cmpversions(const char *const *argv); /* from verify.c */ -int verify_set_output(const char *name); +bool verify_set_output(const char *name); int verify(const char *const *argv); /* from select.c */ diff --git a/src/verify.c b/src/verify.c index 9d871329b..9e32f163a 100644 --- a/src/verify.c +++ b/src/verify.c @@ -81,15 +81,15 @@ verify_output_rpm(struct filenamenode *namenode, struct verify_checks *checks) static verify_output_func *verify_output = verify_output_rpm; -int +bool verify_set_output(const char *name) { if (strcmp(name, "rpm") == 0) verify_output = verify_output_rpm; else - return 1; + return false; - return 0; + return true; } static void |