From a5ef4fc8e8497819176da8ecf47c445e9227c0d8 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sun, 22 Jan 2006 11:25:09 +0000 Subject: [PATCH] apply new 'isNumber()' API git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2257 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/vserver-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-vserver/src/vserver-info.c b/util-vserver/src/vserver-info.c index ea62b55..0895020 100644 --- a/util-vserver/src/vserver-info.c +++ b/util-vserver/src/vserver-info.c @@ -492,7 +492,7 @@ execQuery(char const *vserver, VserverTag tag, int argc, char *argv[]) signed long xid; // type is a small hack, but should be ok... struct vc_vx_info info; - if (isNumber(vserver, &xid) && xid>=0) + if (isNumber(vserver, &xid, true) && xid>=0) res = (vc_get_vx_info(xid, &info)==-1) ? 0 : "1"; else res = (vc_getVserverCtx(vserver, vcCFG_AUTO, false, 0)==VC_NOCTX) ? 0 : "1"; -- 1.8.1.5