diff options
author | Pierre Gabin FODOP GUMETE <gabinfodop@gmail.com> | 2019-01-31 17:17:02 +0100 |
---|---|---|
committer | Pierre Gabin FODOP GUMETE <gabinfodop@gmail.com> | 2019-01-31 17:17:02 +0100 |
commit | 07a3153d709591d00c82ee17998d2ebde57c54fa (patch) | |
tree | a5343953f7f765874a443aabc6869171f5aa2f5b | |
parent | 865fbb5aad9b9ccb5b201271e590d6a14e3efdf5 (diff) |
Small modification
Change-Id: Idc1f543bf2614b68e7131ceffa590ca384e61e83
-rw-r--r-- | src/afb-wsj1-test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/afb-wsj1-test.cpp b/src/afb-wsj1-test.cpp index c17b1ed0..ee83b7f0 100644 --- a/src/afb-wsj1-test.cpp +++ b/src/afb-wsj1-test.cpp @@ -6,10 +6,10 @@ void onreply(const char *value){ } int main(int ac, char **av){ - char*uri=av[0]; - char*api =av[1]; - char*verb =av[2]; - char*req =av[3]; + char*uri=av[1] + char*api =av[2]; + char*verb =av[3]; + char*req =av[4]; afb::wsj1 sj1; sj1.connect(uri); sj1.call(api,verb,req,onreply); |