Skip to content

Commit 86908cb

Browse files
committed
include CCDTUrl setting for later versions, too
1 parent 2754e8d commit 86908cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibmmq/mqiMQCNO.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ package ibmmq
2727
#include <cmqxc.h>
2828
2929
void freeCCDTUrl(MQCNO *mqcno) {
30-
#if defined(MQCNO_VERSION_6) && MQCNO_CURRENT_VERSION == MQCNO_VERSION_6
30+
#if defined(MQCNO_VERSION_6) && MQCNO_CURRENT_VERSION >= MQCNO_VERSION_6
3131
if (mqcno.CCDTUrlPtr != NULL) {
3232
free(mqcno.CCDTUrlPtr);
3333
}

0 commit comments

Comments
 (0)