summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
authorjaviplx@gmail.com <javiplx@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-04-07 11:51:52 (EDT)
committer javiplx@gmail.com <javiplx@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-04-07 11:51:52 (EDT)
commit00c5a9ccefea37200e12a8ba42f106d47edc08fa (patch)
tree71922d30e5d3c95308d6bbd3fe7be01046ac0b57 /libopkg
parenta71e5ecc5784fdb03f5ea4edc4eb17c9b00e24bf (diff)
Fix mistype in define clause
git-svn-id: http://opkg.googlecode.com/svn/trunk@613 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/release.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/release.c b/libopkg/release.c
index 86f9a8d..1b6e838 100644
--- a/libopkg/release.c
+++ b/libopkg/release.c
@@ -305,7 +305,7 @@ release_verify_file(release_t *release, const char* file_name, const char *pathn
struct stat f_info;
char *f_md5 = NULL;
const char *md5 = release_get_md5(release, pathname);
-#ifndef HAVE_SHA256
+#ifdef HAVE_SHA256
char *f_sha256 = NULL;
const char *sha256 = release_get_sha256(release, pathname);
#endif