X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=blobdiff_plain;f=lib%2Fgetvserverbyctx-v13.hc;h=ad139b5fae2c159317e6776f1cd6ee9b85f7dee2;hp=adfb0e9802cb6aee6d84c92a3eb448d17519430d;hb=a741f6faf2baae1e823d334012f6a09e6a1bda51;hpb=426a0d3a38995dc25a839aaa56d8642e6bdcbba5 diff --git a/lib/getvserverbyctx-v13.hc b/lib/getvserverbyctx-v13.hc index adfb0e9..ad139b5 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 2589 2007-08-16 03:06:50Z dhozac $ --*- c -*-- // Copyright (C) 2004 Enrico Scholz // @@ -28,7 +28,7 @@ vc_getVserverByCtx_v13(xid_t ctx, vcCfgStyle *style, char const UNUSED *revdir, 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, vcCTX_XID)==ctx)) { if (style) *style = vcCFG_RECENT_FULL; return strdup(buf); }