@@ -84,10 +84,10 @@ func MQCALLBACK_Go(hConn C.MQHCONN, mqmd *C.MQMD, mqgmo *C.MQGMO, mqBuffer C.PMQ
84
84
gocbc .CallbackArea = info .callbackArea
85
85
gocbc .ConnectionArea = info .connectionArea
86
86
87
- // Get the data
87
+ // Get the data
88
88
b := C .GoBytes (unsafe .Pointer (mqBuffer ), C .int (mqcbc .DataLength ))
89
89
90
- // And finally call the user function
90
+ // And finally call the user function
91
91
info .callbackFunction (info .hObj , gomd , gogmo , b , gocbc , mqreturn )
92
92
}
93
93
}
@@ -129,7 +129,7 @@ func (object *MQObject) CB(goOperation int32, gocbd *MQCBD, gomd *MQMD, gogmo *M
129
129
return & mqreturn
130
130
}
131
131
132
- // Add or remove the control information in the map used by the callback routines
132
+ // Add or remove the control information in the map used by the callback routines
133
133
switch mqOperation {
134
134
case C .MQOP_DEREGISTER :
135
135
delete (cbMap , key )
@@ -158,7 +158,7 @@ func (x *MQQueueManager) Ctl(goOperation int32, goctlo *MQCTLO) error {
158
158
mqOperation = C .MQLONG (goOperation )
159
159
copyCTLOtoC (& mqctlo , goctlo )
160
160
161
- // Need to make sure control information is available before the callback
161
+ // Need to make sure control information is available before the callback
162
162
// is enabled. So this gets setup even if the MQCTL fails.
163
163
key := makePartialKey (x .hConn )
164
164
for k , info := range cbMap {
0 commit comments