if (l<=4 || strcmp(name+l-4, ".ctx")!=0) continue;
name[l-4] = '\0';
- cur_xid = vc_getVserverCtx(name, vcCFG_LEGACY, false, 0);
+ cur_xid = vc_getVserverCtx(name, vcCFG_LEGACY, false, 0, vcCTX_XID);
if (cur_xid!=xid) continue;
result = strdup(name);
// check if expected ctx == actual ctx (but only when this check is
// request)
if (validate_result &&
- vc_getVserverCtx(path, vcCFG_RECENT_FULL, false, 0)!=ctx) return 0;
+ vc_getVserverCtx(path, vcCFG_RECENT_FULL, false, 0, vcCTX_XID)!=ctx) return 0;
if (style) *style = vcCFG_RECENT_FULL;
return strdup(path);