|
599 |
|
599 |
|
600 |
/* if no ID is set, assume the database has just been initialized */ |
600 |
/* if no ID is set, assume the database has just been initialized */ |
601 |
rv = cache_get_master_entry(&cache_master_entry); |
601 |
rv = cache_get_master_entry(&cache_master_entry); |
602 |
if (rv == DB_NOTFOUND) { |
602 |
if (rv) { |
603 |
cache_get_int("notifier_id", &cache_master_entry.id, -1); |
603 |
cache_get_int("notifier_id", &cache_master_entry.id, -1); |
604 |
if (cache_master_entry.id == -1) { |
604 |
if (cache_master_entry.id == -1) { |
605 |
rv = notifier_get_id_s(NULL, &cache_master_entry.id); |
605 |
rv = notifier_get_id_s(NULL, &cache_master_entry.id); |