diff options
author | jbj <devnull@localhost> | 1998-11-16 21:40:28 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-11-16 21:40:28 +0000 |
commit | 28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9 (patch) | |
tree | b73dd13f60ab5e3904f93cd76622c4f5f61ad6f1 /verify.c | |
parent | bed2bf89c9cc52f655900413d32eb8a5bdcb810c (diff) | |
download | librpm-tizen-28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9.tar.gz librpm-tizen-28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9.tar.bz2 librpm-tizen-28c4ae83a312a54cbe0faa2827ca6a3f9106b4a9.zip |
LCLINT pass 0.
CVS patchset: 2540
CVS date: 1998/11/16 21:40:28
Diffstat (limited to 'verify.c')
-rw-r--r-- | verify.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -132,7 +132,7 @@ static int verifyMatches(char * prefix, rpmdb db, dbiIndexSet matches, matches.recs[i].recOffset); h = rpmdbGetRecord(db, matches.recs[i].recOffset); - if (!h) { + if (h == NULL) { fprintf(stderr, _("error: could not read database record\n")); ec = 1; } else { @@ -172,7 +172,7 @@ int doVerify(char * prefix, enum verifysources source, char ** argv, offset != 0; offset = rpmdbNextRecNum(db, offset)) { h = rpmdbGetRecord(db, offset); - if (!h) { + if (h == NULL) { fprintf(stderr, _("could not read database record!\n")); return 1; /* XXX was exit(1) */ } |