X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=blobdiff_plain;f=lib%2Fgetvserverbyctx-v13.hc;h=faca702c18250842d1b17740dba9133ca61b6e92;hp=adfb0e9802cb6aee6d84c92a3eb448d17519430d;hb=2822ba293eb308225c50d346930c47bf98d9927b;hpb=2894fc5a4c8335e4d7221311fed0556f33f8047c diff --git a/lib/getvserverbyctx-v13.hc b/lib/getvserverbyctx-v13.hc index adfb0e9..faca702 100644 --- a/lib/getvserverbyctx-v13.hc +++ b/lib/getvserverbyctx-v13.hc @@ -1,4 +1,4 @@ -// $Id: getvserverbyctx-v13.hc 2182 2005-10-25 16:20:07Z ensc $ --*- c -*-- +// $Id: getvserverbyctx-v13.hc,v 1.1 2004/03/11 04:39:59 ensc Exp $ --*- c -*-- // Copyright (C) 2004 Enrico Scholz // @@ -21,14 +21,12 @@ #endif static char * -vc_getVserverByCtx_v13(xid_t ctx, vcCfgStyle *style, char const UNUSED *revdir, - bool validate_result) +vc_getVserverByCtx_v13(xid_t ctx, vcCfgStyle *style, char const UNUSED *revdir) { char buf[128]; if (vc_get_vhi_name(ctx, vcVHI_CONTEXT, buf, sizeof buf)!=-1 && - (!validate_result || - vc_getVserverCtx(buf, vcCFG_RECENT_FULL, false, 0)==ctx)) { + vc_getVserverCtx(buf, vcCFG_RECENT_FULL, false, 0)==ctx) { if (style) *style = vcCFG_RECENT_FULL; return strdup(buf); }