projects
/
platform
/
upstream
/
rpm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reverse hash GetEntry() return code vs found/not found
[platform/upstream/rpm.git]
/
lib
/
fprint.c
diff --git
a/lib/fprint.c
b/lib/fprint.c
index
418f61c
..
e5de558
100644
(file)
--- a/
lib/fprint.c
+++ b/
lib/fprint.c
@@
-54,8
+54,8
@@
static const struct fprintCacheEntry_s * cacheContainsDirectory(
const struct fprintCacheEntry_s ** data;
if (rpmFpEntryHashGetEntry(cache->ht, dirName, &data, NULL, NULL))
- return
NULL
;
- return
data[0]
;
+ return
data[0]
;
+ return
NULL
;
}
/**