From 98e932adee2a76bda3c2630f348196216549a45a Mon Sep 17 00:00:00 2001 From: Lutz Helwing Date: Mon, 13 Jul 2015 16:52:14 +0200 Subject: Removed all trailing whitespaces Signed-off-by: Alexander Wenzel --- src/examples/dlt-example-filetransfer.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/examples/dlt-example-filetransfer.c') diff --git a/src/examples/dlt-example-filetransfer.c b/src/examples/dlt-example-filetransfer.c index 23499ce..a56e09d 100644 --- a/src/examples/dlt-example-filetransfer.c +++ b/src/examples/dlt-example-filetransfer.c @@ -92,8 +92,8 @@ void usage() printf("-a apid - Set application id to apid (default: FLTR)\n"); printf("-c ctid - Set context id to ctid (default: FLTR)\n"); printf("-t ms - Timeout between file packages in ms (minimum 1 ms)\n"); - printf("-d - Flag to delete the file after the transfer (default: false)\n"); - printf("-i - Flag to log file infos to DLT before transfer file (default: false)\n"); + printf("-d - Flag to delete the file after the transfer (default: false)\n"); + printf("-i - Flag to log file infos to DLT before transfer file (default: false)\n"); printf("-h - This help\n"); } @@ -101,13 +101,13 @@ void usage() //!Main program dlt-test-filestransfer starts here int main(int argc, char* argv[]) -{ +{ //char str[MAXSTRLEN]; int opt, timeout; char apid[DLT_ID_SIZE]; char ctid[DLT_ID_SIZE]; - + //char version[255]; int index; int dflag = 0; @@ -172,7 +172,7 @@ int main(int argc, char* argv[]) } } } - + for (index = optind; index < argc; index++) { file = argv[index]; @@ -198,11 +198,11 @@ int main(int argc, char* argv[]) //Register the application at the dlt-daemon DLT_REGISTER_APP(apid,FLTR_APP_DESC); - + //Register the context of the main program at the dlt-daemon DLT_REGISTER_CONTEXT(fileContext,ctid,FLTR_CONTEXT_DESC); - - //More details in corresponding methods + + //More details in corresponding methods if( iflag ) { dlt_user_log_file_infoAbout(&fileContext,file); @@ -212,11 +212,11 @@ int main(int argc, char* argv[]) { printf("File couldn't be transferred. Please check the dlt log messages.\n"); } - + //Unregister the context in which the file transfer happened from the dlt-daemon DLT_UNREGISTER_CONTEXT(fileContext); //Unregister the context of the main program from the dlt-daemon DLT_UNREGISTER_APP(); - + return 0; } -- cgit v1.2.1