cprintf("%d Who knows room:\n", LISTING_FOLLOWS);
cdb_rewind(CDB_USERS);
- while (cdbus = cdb_next_item(CDB_USERS), cdbus.len>0) {
+ while (cdbus = cdb_next_item(CDB_USERS), cdbus.ptr!=NULL) {
memset(&temp, 0, sizeof temp);
memcpy(&temp, cdbus.ptr, sizeof temp);