Skip to content

Commit eb8f640

Browse files
committed
Formatting
1 parent e6ae3b6 commit eb8f640

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ibmmq/mqicb.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ accessible from a C function. See mqicb_c.go for the proxy/gateway C function th
6363
//export MQCALLBACK_Go
6464
func MQCALLBACK_Go(hConn C.MQHCONN, mqmd *C.MQMD, mqgmo *C.MQGMO, mqBuffer C.PMQVOID, mqcbc *C.MQCBC) {
6565

66-
var cbHObj *MQObject
66+
var cbHObj *MQObject
6767

6868
// Find the real callback function and invoke it
6969
// Invoked function should match signature of the MQCB_FUNCTION type
@@ -101,14 +101,14 @@ func MQCALLBACK_Go(hConn C.MQHCONN, mqmd *C.MQMD, mqgmo *C.MQGMO, mqBuffer C.PMQ
101101
// The way I've chosen is to find the first entry in
102102
// the map associated with the hConn and call its registered function with
103103
// a dummy hObj.
104-
if ! ok {
104+
if !ok {
105105
if gocbc.CallType == MQCBCT_EVENT_CALL && mqcbc.Hobj == 0 {
106106
key = makePartialKey(hConn)
107107
for k, i := range cbMap {
108108
if strings.HasPrefix(k, key) {
109109
ok = true
110110
info = i
111-
cbHObj = &MQObject{qMgr:info.hObj.qMgr,Name:""}
111+
cbHObj = &MQObject{qMgr: info.hObj.qMgr, Name: ""}
112112
// Only care about finding one match in the table
113113
break
114114
}

0 commit comments

Comments
 (0)