GDB says
│ 402 if (kind == DomainInfo::All) {
│
│ > 403 ret<<parts[1]<<" zonecount:"<<count;
│
│ 404 }
│
│ 405 else {
│
│ 406 ret<<"All zonecount:"<<count;
│
│ 407 }
│
But the function starts with
│ 378 string DLListZones(const vector<string>&parts, Utility::pid_t ppid)
│
│ 379 {
│
│ 380 UeberBackend B;
│
│ 381 g_log<<Logger::Notice<<"Received request to list zones."<<endl;
│
...
│ 386 if (parts.size() > 1) {
│
│ 387 kind = DomainInfo::stringToKind(parts[1]);
│
│ 388 }
│
│ 389 else {
│
│ 390 kind = DomainInfo::All;
│
│ 391 }
│
So... (kind == DomainInfo::All) <=> (parts.size() == 0)
but it'sreading parts[1]?
Reeks of a lua momento :v
Best,
signature.asc
Description: PGP signature

