projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
46dcd19
)
Merge branch 'master' into paz-927
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 10 Sep 2014 18:48:03 +0000
(20:48 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 10 Sep 2014 18:48:03 +0000
(20:48 +0200)
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index
dd4405f
..
e5a2e5d
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-1151,7
+1151,9
@@
void client_set_connection(struct client *cl, struct connection *con)
}
else
{
+ client_lock(cl);
cl->connection = con;
+ client_unlock(cl);
client_destroy(cl);
}
}