summaryrefslogtreecommitdiff
path: root/src/shared/dlt_common.c
diff options
context:
space:
mode:
authorManikandan C <mchockalingam@de.adit-jv.com>2018-11-12 14:01:47 +0100
committerManikandan C <mchockalingam@de.adit-jv.com>2018-11-16 11:03:28 +0100
commit8112bb0c3a1b16a9f7e47e725d95f9fbab1bf4c2 (patch)
tree2967d4bf0cf3b95a542fc40e29cd7e67a341fc03 /src/shared/dlt_common.c
parent2c507329d9d161910c793c445ae8c388a608cf35 (diff)
downloadDLT-daemon-Gateway_updates.tar.gz
dlt-client: logging: Extended the receiver buffer sizeGateway_updates
- dlt-control couldn't receive all the GET_LOG_INFO response message when many applications and contexts are registered. Therefore the receiver buffer size was extended to 65K. Also the receive buffer size macros are reduced to one variable. - Code cleanup and improvements Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/shared/dlt_common.c')
-rw-r--r--src/shared/dlt_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c
index a77459d..9f8d60e 100644
--- a/src/shared/dlt_common.c
+++ b/src/shared/dlt_common.c
@@ -3948,7 +3948,7 @@ int16_t dlt_getloginfo_conv_ascii_to_uint16_t(char *rp, int *rp_count)
if ((rp == NULL) || (rp_count == NULL))
{
- return DLT_RETURN_ERROR;
+ return -1;
}
/* ------------------------------------------------------
from: [89 13 ] -> to: ['+0x'1389\0] -> to num
@@ -3970,7 +3970,7 @@ int16_t dlt_getloginfo_conv_ascii_to_int16_t(char *rp, int *rp_count)
if ((rp == NULL) || (rp_count == NULL))
{
- return DLT_RETURN_ERROR;
+ return -1;
}
/* ------------------------------------------------------
from: [89 ] -> to: ['0x'89\0] -> to num