[RICPLT-1739] Extract and build Load Information Message
Change-Id: I5b877c47722abe2a61d6672c2919723ca4162715
Signed-off-by: is005q <idan.shalom@intl.att.com>
diff --git a/E2Manager/rmrCgo/rmrCgoUtils.go b/E2Manager/rmrCgo/rmrCgoUtils.go
index b0ce30c..fe9c99d 100644
--- a/E2Manager/rmrCgo/rmrCgoUtils.go
+++ b/E2Manager/rmrCgo/rmrCgoUtils.go
@@ -31,7 +31,7 @@
func convertToMBuf(logger *logger.Logger, m *C.rmr_mbuf_t) *MBuf {
payloadArr := C.GoBytes(unsafe.Pointer(m.payload),C.int(m.len))
- xActionArr := C.GoBytes(unsafe.Pointer(m.xaction),RMR_MAX_XACTION_LEN)
+ xActionArr := C.GoBytes(unsafe.Pointer(m.xaction),C.int(RMR_MAX_XACTION_LEN))
// Trim padding (space and 0)
xActionStr := strings.TrimRight(string(xActionArr),"\040\000")