diff options
author | Lutz Helwing <lutz_helwing@mentor.com> | 2015-07-13 16:52:14 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2015-07-21 12:48:27 +0200 |
commit | 98e932adee2a76bda3c2630f348196216549a45a (patch) | |
tree | 1658983ac5940b71c158da20421db9054f9500ca /src/system/dlt-system-shell.c | |
parent | 199ff0e7f736d848a7e01a12f04ddb21ecf36d74 (diff) | |
download | DLT-daemon-98e932adee2a76bda3c2630f348196216549a45a.tar.gz |
Removed all trailing whitespaces
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/system/dlt-system-shell.c')
-rw-r--r-- | src/system/dlt-system-shell.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/system/dlt-system-shell.c b/src/system/dlt-system-shell.c index a235fde..8dce12e 100644 --- a/src/system/dlt-system-shell.c +++ b/src/system/dlt-system-shell.c @@ -67,7 +67,7 @@ DLT_DECLARE_CONTEXT(shellContext) int dlt_shell_injection_callback(uint32_t service_id, void *data, uint32_t length) { (void) length; - + DLT_LOG(shellContext,DLT_LOG_DEBUG, DLT_STRING("dlt-system-shell, injection callback")); char text[DLT_SHELL_COMMAND_MAX_LENGTH]; @@ -76,14 +76,14 @@ int dlt_shell_injection_callback(uint32_t service_id, void *data, uint32_t lengt if(length<=DLT_SHELL_COMMAND_MAX_LENGTH-1) { strncpy(text,data,length); - text[length] = 0; + text[length] = 0; } else { strncpy(text,data,DLT_SHELL_COMMAND_MAX_LENGTH-1); - text[DLT_SHELL_COMMAND_MAX_LENGTH-1] = 0; + text[DLT_SHELL_COMMAND_MAX_LENGTH-1] = 0; } - + DLT_LOG(shellContext,DLT_LOG_DEBUG, DLT_STRING("dlt-system-shell, injection injection id:"), DLT_UINT32(service_id)); @@ -105,7 +105,7 @@ int dlt_shell_injection_callback(uint32_t service_id, void *data, uint32_t lengt { DLT_LOG(shellContext,DLT_LOG_INFO, DLT_STRING("Shell command executed:"), - DLT_STRING(text)); + DLT_STRING(text)); } break; default: |