projects
/
invirt/third/libt4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanups
[invirt/third/libt4.git]
/
lock_demo.cc
diff --git
a/lock_demo.cc
b/lock_demo.cc
index
90f0047
..
3a85949
100644
(file)
--- a/
lock_demo.cc
+++ b/
lock_demo.cc
@@
-1,14
+1,5
@@
-//
-// Lock demo
-//
-
-#include "lock_protocol.h"
#include "lock_client.h"
#include "lock_client.h"
-#include "rpc/rpc.h"
-#include <arpa/inet.h>
-#include <vector>
-#include <stdlib.h>
-#include <stdio.h>
+#include "tprintf.h"
char tprintf_thread_prefix = 'd';
char tprintf_thread_prefix = 'd';
@@
-21,5
+12,5
@@
main(int argc, char *argv[])
}
lock_client *lc = new lock_client(argv[1]);
}
lock_client *lc = new lock_client(argv[1]);
- printf ("stat returned %d\n", lc->stat("1"));
+ LOG_NONMEMBER("stat returned " << lc->stat("1"));
}
}