Ugh, fix brokenness from previous commit
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 31 Aug 2009 08:20:40 +0000 (11:20 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 31 Aug 2009 08:20:40 +0000 (11:20 +0300)
rpmio/rpmhook.c
rpmio/rpmpgp.c

index 1928df0..9fe2a21 100644 (file)
@@ -5,6 +5,7 @@
 #include <string.h>
 #include <stdarg.h>
 
+#include <rpm/rpmstring.h>
 #include "rpmio/rpmhook.h"
 
 #include "debug.h"
index 577210e..551a46f 100644 (file)
@@ -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);