X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fgetvserverbyctx-v13.hc;h=ad139b5fae2c159317e6776f1cd6ee9b85f7dee2;hb=4415d2a7377be61789eb5a6e35222962cbe7a146;hp=adfb0e9802cb6aee6d84c92a3eb448d17519430d;hpb=b0a62d195efca12c5cb9e7c0b3bea3be2cd57fc9;p=util-vserver.git 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); }