Changeset 2596
- Timestamp:
- 08/25/07 18:56:12 (1 year ago)
- Files:
-
- trunk/lib/getvserverbyctx-compat.hc (modified) (1 diff)
- trunk/lib/getvserverctx.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/getvserverbyctx-compat.hc
r2589 r2596 49 49 if (l<=4 || strcmp(name+l-4, ".ctx")!=0) continue; 50 50 name[l-4] = '\0'; 51 cur_xid = vc_getVserverCtx(name, vcCFG_LEGACY, false, 0 );51 cur_xid = vc_getVserverCtx(name, vcCFG_LEGACY, false, 0, vcCTX_XID); 52 52 if (cur_xid!=xid) continue; 53 53 trunk/lib/getvserverctx.c
r2589 r2596 176 176 177 177 free(cur_name); 178 179 if (is_running) // fill 'is_running' information... 180 *is_running = res!=VC_NOCTX; 178 181 } 179 180 if (is_running) // fill 'is_running' information... 181 *is_running = res!=VC_NOCTX; 182 182 else if (is_running) 183 *is_running = false; 184 183 185 if (res==VC_NOCTX && honor_static) { 186 check_static: 184 187 switch (type) { 185 188 case vcCTX_XID: … … 195 198 196 199 res = getCtxFromFile(buf); 200 if (res==VC_NOCTX && type!=vcCTX_XID) { 201 type = vcCTX_XID; 202 goto check_static; 203 } 197 204 } 198 205
