Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
modif
[src/app-framework-binder.git]
/
src
/
afb-wsj1-test.cpp
diff --git
a/src/afb-wsj1-test.cpp
b/src/afb-wsj1-test.cpp
index
90044ed
..
f355e1a
100644
(file)
--- a/
src/afb-wsj1-test.cpp
+++ b/
src/afb-wsj1-test.cpp
@@
-1,8
+1,8
@@
#include "afb-wsj1.hpp"
void onreply(const char *value){
#include "afb-wsj1.hpp"
void onreply(const char *value){
- std::cout
<< *value<<
std::endl;
-
system("PAUSE"
);
+ std::cout
<< value <<
std::endl;
+
exit(0
);
}
int main(int ac, char **av){
}
int main(int ac, char **av){
@@
-13,6
+13,6
@@
int main(int ac, char **av){
afb::wsj1 sj1;
sj1.connect(uri);
sj1.call(api,verb,req,onreply);
afb::wsj1 sj1;
sj1.connect(uri);
sj1.call(api,verb,req,onreply);
-
+ system("PAUSE");
return EXIT_SUCCESS;
}
\ No newline at end of file
return EXIT_SUCCESS;
}
\ No newline at end of file