handle RPM_CHAR_TYPE like RPM_INT8_TYPE for queries
authorewt <devnull@localhost>
Thu, 2 Jan 1997 17:46:32 +0000 (17:46 +0000)
committerewt <devnull@localhost>
Thu, 2 Jan 1997 17:46:32 +0000 (17:46 +0000)
CVS patchset: 1263
CVS date: 1997/01/02 17:46:32

query.c

diff --git a/query.c b/query.c
index 3c91e0e..d7c2276 100644 (file)
--- a/query.c
+++ b/query.c
@@ -252,6 +252,7 @@ static char * handleFormat(Header h, char * chptr, int * cntptr,
        printf(format, p);
        break;
 
+      case RPM_CHAR_TYPE:
       case RPM_INT8_TYPE:
        strcat(format, "d");
        printf(format, *(((int_8 *) p) + arrayNum));