projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a race condition!
[invirt/third/libt4.git]
/
rsmtest_client.cc
diff --git
a/rsmtest_client.cc
b/rsmtest_client.cc
index
0c56f8a
..
f4238db
100644
(file)
--- a/
rsmtest_client.cc
+++ b/
rsmtest_client.cc
@@
-1,16
+1,11
@@
// RPC stubs for clients to talk to rsmtest_server
#include "rsmtest_client.h"
// RPC stubs for clients to talk to rsmtest_server
#include "rsmtest_client.h"
-#include "rpc/rpc.h"
#include <arpa/inet.h>
#include <arpa/inet.h>
-#include <sstream>
-#include <iostream>
-#include <stdio.h>
-
-rsmtest_client::rsmtest_client(std::string dst) : cl(dst) {
+rsmtest_client::rsmtest_client(string dst) : cl(dst) {
if (cl.bind() < 0)
if (cl.bind() < 0)
- printf("rsmtest_client: call bind\n");
+ cout << "rsmtest_client: call bind" << endl;
}
rsm_test_protocol::status rsmtest_client::net_repair(int heal) {
}
rsm_test_protocol::status rsmtest_client::net_repair(int heal) {
@@
-26,5
+21,3
@@
rsm_test_protocol::status rsmtest_client::breakpoint(int b) {
VERIFY (ret == rsm_test_protocol::OK);
return r;
}
VERIFY (ret == rsm_test_protocol::OK);
return r;
}
-
-