diff options
author | Christoph Lipka <clipka@jp.adit-jv.com> | 2016-12-06 16:42:41 +0900 |
---|---|---|
committer | Saya Sugiura <ssugiura@jp.adit-jv.com> | 2019-05-06 15:44:49 +0900 |
commit | 4fe69b0927f4c5d0cb3b3ae4fa64500db22b13d0 (patch) | |
tree | 74ae0df4109c6f0980e45a3d0b2a29c4dfdc10f2 /src/daemon | |
parent | 1348d1c07dbda69c32317738b8e9c69734f181c3 (diff) | |
download | DLT-daemon-4fe69b0927f4c5d0cb3b3ae4fa64500db22b13d0.tar.gz |
unix socket: IPC code isolation
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Signed-off-by: Vo Trung Chi <Chi.VoTrung@vn.bosch.com>
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/dlt-daemon.c | 3 | ||||
-rw-r--r-- | src/daemon/dlt_daemon_connection.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c index 79b4058..a8404fd 100644 --- a/src/daemon/dlt-daemon.c +++ b/src/daemon/dlt-daemon.c @@ -2763,8 +2763,7 @@ int dlt_daemon_process_user_message_log_shm(DltDaemon *daemon, int verbose) { char local_str[DLT_DAEMON_TEXTBUFSIZE] = { '\0' }; - int j, sent, third_value; - ssize_t ret; + int sent; uint8_t *rcv_buffer = NULL; int size; uint32_t len = sizeof(DltUserHeader); diff --git a/src/daemon/dlt_daemon_connection.c b/src/daemon/dlt_daemon_connection.c index 669a7b1..2fe17c1 100644 --- a/src/daemon/dlt_daemon_connection.c +++ b/src/daemon/dlt_daemon_connection.c @@ -232,8 +232,10 @@ DLT_STATIC DltReceiver *dlt_connection_get_receiver(DltDaemonLocal *daemon_local } break; +#ifdef DLT_USE_UNIX_SOCKET_IPC case DLT_CONNECTION_APP_CONNECT: /* FALL THROUGH */ +#endif case DLT_CONNECTION_ONE_S_TIMER: /* FALL THROUGH */ case DLT_CONNECTION_SIXTY_S_TIMER: |