diff --git a/build.xml b/build.xml index 00d93199..4eedcfe9 100644 --- a/build.xml +++ b/build.xml @@ -168,7 +168,6 @@ - diff --git a/build.xml~ b/build.xml~ deleted file mode 100644 index 4eedcfe9..00000000 --- a/build.xml~ +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/test/test1.c b/test/test1.c index 3ece46d7..619f40ca 100644 --- a/test/test1.c +++ b/test/test1.c @@ -61,7 +61,7 @@ struct Options int test_no; } options = { - "m2m.eclipse.org:1883", + "tcp://m2m.eclipse.org:1883", NULL, 0, 0, @@ -84,7 +84,10 @@ void getopts(int argc, char** argv) else if (strcmp(argv[count], "--connection") == 0) { if (++count < argc) + { options.connection = argv[count]; + printf("\nSetting connection to %s\n", options.connection); + } else usage(); } @@ -109,8 +112,7 @@ void getopts(int argc, char** argv) else if (strcmp(argv[count], "--verbose") == 0) { options.verbose = 1; - //TODO - printf("\nSetting verbose on\n"); + printf("\nSetting verbose on\n"); } count++; }