-lock_client::lock_client(string xdst, class lock_release_user *_lu) : lu(_lu) {
- sockaddr_in dstsock;
- make_sockaddr(xdst.c_str(), &dstsock);
- cl = new rpcc(dstsock);
- if (cl->bind() < 0) {
- printf("lock_client: call bind\n");
- }
+lock_client::lock_client(string xdst, lock_release_user *_lu) : lu(_lu), next_xid(0) {
+ cl = new rpcc(xdst);
+ if (cl->bind() < 0)
+ LOG("lock_client: call bind");