diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 12:15:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-10 12:15:38 +0000 |
commit | e6bd4839de6ca9a2a00bee11bf7e022b8a7a8933 (patch) | |
tree | 5e09c283320e159dc403cc50114816f4dbdb0080 | |
parent | d15af5bbf2c199a04e93e380eba1689363bf6a21 (diff) | |
download | perl-URPM-e6bd4839de6ca9a2a00bee11bf7e022b8a7a8933.tar perl-URPM-e6bd4839de6ca9a2a00bee11bf7e022b8a7a8933.tar.gz perl-URPM-e6bd4839de6ca9a2a00bee11bf7e022b8a7a8933.tar.bz2 perl-URPM-e6bd4839de6ca9a2a00bee11bf7e022b8a7a8933.tar.xz perl-URPM-e6bd4839de6ca9a2a00bee11bf7e022b8a7a8933.zip |
simplify
-rw-r--r-- | URPM.xs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -136,9 +136,8 @@ static const void* unused_variable(const void *p) { static int rpmError_callback_data; void rpmError_callback() { - if (rpmErrorCode() != RPMERR_UNLINK && rpmErrorCode() != RPMERR_RMDIR) { + if (rpmErrorCode() != RPMERR_UNLINK && rpmErrorCode() != RPMERR_RMDIR) write_nocheck(rpmError_callback_data, rpmlogMessage(), strlen(rpmlogMessage())); - } } /* needed for importing keys (from rpmio) */ |