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
backing out to version 208 of util-vserver
[util-vserver.git]
/
lib
/
getvserverbyctx.c
diff --git
a/lib/getvserverbyctx.c
b/lib/getvserverbyctx.c
index
9371f94
..
9896ae8
100644
(file)
--- a/
lib/getvserverbyctx.c
+++ b/
lib/getvserverbyctx.c
@@
-1,4
+1,4
@@
-// $Id: getvserverbyctx.c
2182 2005-10-25 16:20:07Z ensc
$ --*- c -*--
+// $Id: getvserverbyctx.c
,v 1.6 2004/03/11 04:40:29 ensc Exp
$ --*- c -*--
// Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-31,21
+31,11
@@
#include "getvserverbyctx-compat.hc"
#include "getvserverbyctx-v13.hc"
#include "getvserverbyctx-compat.hc"
#include "getvserverbyctx-v13.hc"
-
char *
char *
-vc_getVserverByCtx_Internal(xid_t ctx, /*@null@*/vcCfgStyle *style,
- /*@null@*/char const *revdir,
- bool validate_result)
+vc_getVserverByCtx(xid_t ctx, vcCfgStyle *style, char const *revdir)
{
if (vc_isSupported(vcFEATURE_MIGRATE))
{
if (vc_isSupported(vcFEATURE_MIGRATE))
- return vc_getVserverByCtx_v13(ctx, style, revdir
, validate_result
);
+ return vc_getVserverByCtx_v13(ctx, style, revdir);
else
else
- return vc_getVserverByCtx_compat(ctx, style, revdir, validate_result);
-}
-
-char *
-vc_getVserverByCtx(xid_t ctx, vcCfgStyle *style, char const *revdir)
-{
- return vc_getVserverByCtx_Internal(ctx, style, revdir, true);
-
+ return vc_getVserverByCtx_compat(ctx, style, revdir);
}
}