Skip to content
Snippets Groups Projects
Commit 4ff2d6ad authored by deuce's avatar deuce
Browse files

Make mcmlxxix right.

parent 2e0a3e8b
Branches
Tags
No related merge requests found
......@@ -130,11 +130,7 @@ function JSONClient(serverAddr,serverPort) {
/* unlock an object */
this.unlock = function(scope,location) {
this.send(scope,"QUERY",{
location:location,
oper:"LOCK",
data:-1,
});
this.lock(-1);
}
/* read object data (lock for reading or writing, blocking) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment