X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-wsj1-test.cpp;fp=src%2Fafb-wsj1-test.cpp;h=ee83b7f05eda69201d04e356686bc3142bc5039e;hb=07a3153d709591d00c82ee17998d2ebde57c54fa;hp=c17b1ed08a1497cb9fae541b62400af83ce9d6a3;hpb=865fbb5aad9b9ccb5b201271e590d6a14e3efdf5;p=src%2Fapp-framework-binder.git 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);