summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/system/dlt-system-log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/system/dlt-system-log.c b/src/system/dlt-system-log.c
index 5a30718..61ec161 100644
--- a/src/system/dlt-system-log.c
+++ b/src/system/dlt-system-log.c
@@ -172,17 +172,15 @@ int dlt_system_filetransfer_init(DltSystemOptions *options,DltSystemRuntime *run
return -1;
if(inotify_add_watch(dlt_system_inotify_handle, options->FiletransferDirectory2, IN_CLOSE_WRITE|IN_MOVED_TO) < 0)
return -1;
+ return 0;
}
void dlt_system_filetransfer_run(DltSystemOptions *options,DltSystemRuntime *runtime,DltContext *context)
{
- struct dirent *dp;
char filename[256];
struct stat status;
- time_t time_oldest = 0;
int transferResult;
int total_size, used_size;
- DIR *dir;
static char inotify_buf[INOTIFY_LEN];
static char file_stack[256][256];
static int file_stack_ptr = -1;