+ else if (str[0]==':') res = getVserverNid(str+1, honor_static, &err);
+ else {
+ char * endptr;
+ nid_t nid = strtol(str, &endptr, 10);
+
+ if (endptr!=str && (*endptr=='\0' || *endptr=='\n'))
+ res = nid;
+ else
+ res = getVserverNid(str, honor_static, &err);
+ }