Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[JIRA ID - ODUHIGH-275] Part -4 classifying of logs of sch folder
[o-du/l2.git]
/
src
/
cm
/
lsctp.c
diff --git
a/src/cm/lsctp.c
b/src/cm/lsctp.c
index
c28cc1d
..
1641bc4
100644
(file)
--- a/
src/cm/lsctp.c
+++ b/
src/cm/lsctp.c
@@
-41,7
+41,7
@@
uint8_t cmPkSctpNtfy(Pst *pst, CmInetSctpNotification *ntfy)
{
Buffer *mBuf;
{
Buffer *mBuf;
- if(ODU_GET_MSG(pst->region, pst->pool, &mBuf) != ROK)
+ if(ODU_GET_MSG
_BUF
(pst->region, pst->pool, &mBuf) != ROK)
{
printf("\nSCTP : Failed to allocate memory");
return RFAILED;
{
printf("\nSCTP : Failed to allocate memory");
return RFAILED;
@@
-83,7
+83,7
@@
uint8_t cmPkSctpNtfy(Pst *pst, CmInetSctpNotification *ntfy)
uint8_t cmUnpkSctpNtfy(SctpNtfy func, Pst *pst, Buffer *mBuf)
{
CmInetSctpNotification ntfy;
uint8_t cmUnpkSctpNtfy(SctpNtfy func, Pst *pst, Buffer *mBuf)
{
CmInetSctpNotification ntfy;
- memset(
(uint8_t*)
&ntfy, 0, sizeof(CmInetSctpNotification));
+ memset(&ntfy, 0, sizeof(CmInetSctpNotification));
oduPackUInt16(&(ntfy.header.nType), mBuf);
if(ntfy.header.nType == CM_INET_SCTP_ASSOC_CHANGE)
oduPackUInt16(&(ntfy.header.nType), mBuf);
if(ntfy.header.nType == CM_INET_SCTP_ASSOC_CHANGE)