Permalink
Browse files

always set di.notified_serial in getAllDomains

  • Loading branch information...
1 parent ca44706 commit 3ca050ffe9555fd2b875eb1b1b2c29d9e69602f8 @mind04 mind04 committed with mind04 Feb 3, 2015
Showing with 1 addition and 3 deletions.
  1. +1 −3 pdns/backends/gsql/gsqlbackend.cc
@@ -1013,9 +1013,7 @@ void GSQLBackend::getAllDomains(vector<DomainInfo> *domains, bool include_disabl
SOAData sd;
fillSOAData(row[2], sd);
di.serial = sd.serial;
- if (!row[5].empty()) {
- di.notified_serial = atol(row[5].c_str());
- }
+ di.notified_serial = atol(row[5].c_str());
di.last_check = atol(row[6].c_str());
di.account = row[7];

0 comments on commit 3ca050f

Please sign in to comment.