Fix a defect detected by static code analyzer 55/18955/6 1.3.0-RC1
authorJaewook Jung <jw0213.jung@samsung.com>
Fri, 14 Apr 2017 02:34:00 +0000 (11:34 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Mon, 17 Apr 2017 04:43:17 +0000 (04:43 +0000)
commit4b3054591ed075e5647561669415494391570ba3
tree509c01a4f2920f3a78eb60c8f0ba8ed4c94e6333
parent5be2d776a174454310412b883e254bb6a5c2c0eb
Fix a defect detected by static code analyzer

Because the size of the struct CAEndpoint_t is 184 bytes,
it is better to pass a pointer of it if call-by-value is not
necessary.

Change-Id: I680cb11ba6ad18613370a76333002d7784a23178
Signed-off-by: Jaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18955
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: jaehyun Cho <jaehyun3.cho@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/api/cautilinterface.h
resource/csdk/connectivity/util/inc/caconnectionmanager.h
resource/csdk/connectivity/util/src/camanager/caconnectionmanager.c
resource/csdk/connectivity/util/src/camanager/camanagerutil.c
resource/csdk/connectivity/util/src/camanager/camanagerutil.h
resource/csdk/connectivity/util/src/camanager/camessagearbiter.c
resource/csdk/connectivity/util/src/camanager/camessagearbiter.h
resource/csdk/connectivity/util/src/cautilinterface.c
resource/csdk/stack/src/occonnectionmanager.c