Skip to content

Commit b4c6395

Browse files
committed
QJST fix for 912 structure size change
1 parent 5d9daf9 commit b4c6395

File tree

8 files changed

+5
-2
lines changed

8 files changed

+5
-2
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,6 @@ Sep 2018 (v5.0.0)
8686

8787
Mar 2019 (v5.1.0)
8888
* Add support for MQ 9.1.2 zHyperWrite
89+
90+
Apr 2019 (v5.1.1)
91+
* The 912 changes broke QJST printing

bin/aix/convH

0 Bytes
Binary file not shown.

bin/aix/mqsmfcsv

34 Bytes
Binary file not shown.

bin/linux/convH

-48 Bytes
Binary file not shown.

bin/linux/mqsmfcsv

-44 Bytes
Binary file not shown.

bin/win/mqsmfcsv.exe

63 KB
Binary file not shown.

src/printQCST.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void printQCST(qcst *p)
6565
ADDU32 ("XmitQ_Empty_Count",p->qcstqetc);
6666
ADDU32 ("Batch_Interval" ,p->qcstcbit);
6767
ADDU32 ("Batch_Data_Limit",p->qcstcbdl);
68-
ADDU32 ("Dispatcher_Numer",p->qcstdspn);
68+
ADDU16 ("Dispatcher_Numer",p->qcstdspn);
6969

7070
SMFPRINTSTOP;
7171
return;

src/printQJST.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void printQJST(qjst *p)
6868
}
6969
}
7070

71-
if (conv16(p->qjstll)>=sizeof(qjst))
71+
if (conv16(p->qjstll)>=offsetof(qjst,qjstio[0]))
7272
{
7373
for (i=0;i<2;i++)
7474
{

0 commit comments

Comments
 (0)