projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
16ee517
)
Server unlocks both "cmt" and "org" lock in zebra_server_unlock.
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 29 Oct 2001 22:16:38 +0000
(22:16 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 29 Oct 2001 22:16:38 +0000
(22:16 +0000)
index/locksrv.c
patch
|
blob
|
history
diff --git
a/index/locksrv.c
b/index/locksrv.c
index
176aba5
..
e19bc42
100644
(file)
--- a/
index/locksrv.c
+++ b/
index/locksrv.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: locksrv.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: locksrv.c,v $
- * Revision 1.15 2000-12-01 17:59:08 adam
+ * Revision 1.16 2001-10-29 22:16:38 adam
+ * Server unlocks both "cmt" and "org" lock in zebra_server_unlock.
+ *
+ * Revision 1.15 2000/12/01 17:59:08 adam
* Fixed bug regarding online updates on WIN32.
* When zebra.cfg is not available the server will not abort.
*
* Fixed bug regarding online updates on WIN32.
* When zebra.cfg is not available the server will not abort.
*
@@
-135,16
+138,10
@@
void zebra_server_unlock (ZebraService zi, int commitPhase)
{
if (zi->server_lock_org == NULL)
return;
{
if (zi->server_lock_org == NULL)
return;
- if (commitPhase)
- {
- logf (LOG_DEBUG, "Server unlocks org");
- zebra_unlock (zi->server_lock_org);
- }
- else
- {
- logf (LOG_DEBUG, "Server unlocks cmt");
- zebra_unlock (zi->server_lock_cmt);
- }
+ logf (LOG_DEBUG, "Server unlocks org");
+ zebra_unlock (zi->server_lock_org);
+ logf (LOG_DEBUG, "Server unlocks cmt");
+ zebra_unlock (zi->server_lock_cmt);
}
int zebra_server_lock_get_state (ZebraService zi, time_t *timep)
}
int zebra_server_lock_get_state (ZebraService zi, time_t *timep)