Skip to content

Commit 97ce922

Browse files
committed
Correct strucId for STS (#146)
1 parent 0c3b486 commit 97ce922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibmmq/mqiSTS.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func NewMQSTS() *MQSTS {
7878
func copySTStoC(mqsts *C.MQSTS, gosts *MQSTS) {
7979
const vsbufsize = C.MQ_TOPIC_STR_LENGTH
8080

81-
setMQIString((*C.char)(&mqsts.StrucId[0]), "STS ", 4)
81+
setMQIString((*C.char)(&mqsts.StrucId[0]), "STAT", 4)
8282
mqsts.Version = C.MQSTS_VERSION_2
8383

8484
mqsts.PutSuccessCount = C.MQLONG(gosts.PutSuccessCount)

0 commit comments

Comments
 (0)