git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ready for tagging
[util-vserver.git]
/
lib
/
getxidtype.c
diff --git
a/lib/getxidtype.c
b/lib/getxidtype.c
index
090854b
..
8bc2be4
100644
(file)
--- a/
lib/getxidtype.c
+++ b/
lib/getxidtype.c
@@
-1,4
+1,4
@@
-// $Id: getxidtype.c 24
15 2006-12-08 13:24:49
Z dhozac $ --*- c -*--
+// $Id: getxidtype.c 24
93 2007-02-10 15:06:07
Z dhozac $ --*- c -*--
// Copyright (C) 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2005 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-31,7
+31,7
@@
vc_getXIDType(xid_t xid)
if (MIN_D_CONTEXT == 0 && (utilvserver_checkCompatConfig() & VC_VCI_NO_DYNAMIC) == 0)
MIN_D_CONTEXT = 49152;
else
if (MIN_D_CONTEXT == 0 && (utilvserver_checkCompatConfig() & VC_VCI_NO_DYNAMIC) == 0)
MIN_D_CONTEXT = 49152;
else
- MIN_D_CONTEXT = MAX_S_CONTEXT;
+ MIN_D_CONTEXT = MAX_S_CONTEXT
+1
;
if (xid==0) return vcTYPE_MAIN;
if (xid==1) return vcTYPE_WATCH;
if (xid==0) return vcTYPE_MAIN;
if (xid==1) return vcTYPE_WATCH;