summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-08-31 11:20:40 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-08-31 11:20:40 +0300
commit36f8bc0f8ebc6029e8edb9ab537dc75e4e0091d1 (patch)
treeb6a4fc36ee2ac2c48eb1043f6eb7b708a6eaa232
parentf4b39519d32287b9f0ed8dc9ad93787ca6a63fcd (diff)
downloadlibrpm-tizen-36f8bc0f8ebc6029e8edb9ab537dc75e4e0091d1.tar.gz
librpm-tizen-36f8bc0f8ebc6029e8edb9ab537dc75e4e0091d1.tar.bz2
librpm-tizen-36f8bc0f8ebc6029e8edb9ab537dc75e4e0091d1.zip
Ugh, fix brokenness from previous commit
-rw-r--r--rpmio/rpmhook.c1
-rw-r--r--rpmio/rpmpgp.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/rpmio/rpmhook.c b/rpmio/rpmhook.c
index 1928df0c9..9fe2a21f7 100644
--- a/rpmio/rpmhook.c
+++ b/rpmio/rpmhook.c
@@ -5,6 +5,7 @@
#include <string.h>
#include <stdarg.h>
+#include <rpm/rpmstring.h>
#include "rpmio/rpmhook.h"
#include "debug.h"
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 577210ef9..551a46fdc 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -1498,7 +1498,7 @@ pgpArmor pgpReadPkts(const char * fn, uint8_t ** pkt, size_t * pktlen)
if (armortype == NULL) /* XXX can't happen */
continue;
- if (!rstreqn(t, armortype, strlen(armortype))
+ if (!rstreqn(t, armortype, strlen(armortype)))
continue;
t += strlen(armortype);