diff options
author | Matt Kraai <kraai@debian.org> | 2001-12-21 02:13:26 +0300 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-12-21 02:13:26 +0300 |
commit | 1f0c43668ac332cbcf61cbdf71844799327cc8b9 (patch) | |
tree | 97414e991363fa613f229019d697280cae1097e0 /archival/dpkg.c | |
parent | 31c73af656813b5cadcb1dd27adb9bbc62a98987 (diff) |
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r-- | archival/dpkg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 0ccca8f95..f41363d0f 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -858,7 +858,7 @@ void write_status_file(deb_file_t **deb_file) } } /* If the package from the status file wasnt handle above, do it now*/ - if (write_flag == FALSE) { + if (! write_flag) { fprintf(new_status_file, "%s\n\n", control_buffer); } @@ -1206,7 +1206,7 @@ void remove_package(const unsigned int package_num) exclude_files = create_list(conffile_name); /* Some directories cant be removed straight away, so do multiple passes */ - while (remove_file_array(remove_files, exclude_files) == TRUE); + while (remove_file_array(remove_files, exclude_files)); /* Create a list of all /var/lib/dpkg/info/<package> files */ remove_files = xmalloc(sizeof(char *) * 11); @@ -1250,7 +1250,7 @@ void purge_package(const unsigned int package_num) exclude_files[0] = NULL; /* Some directories cant be removed straight away, so do multiple passes */ - while (remove_file_array(remove_files, exclude_files) == TRUE); + while (remove_file_array(remove_files, exclude_files)); /* Create a list of all /var/lib/dpkg/info/<package> files */ remove_files = xmalloc(sizeof(char *) * 11); |