char *rd_ser;
nick = get_nick_record (zone_key);
-
GNUNET_assert (-1 !=
GNUNET_GNSRECORD_records_get_size (rd_count,
rd));
sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) )
{
sa->zm_pos = zm->next; /* not interesting to this monitor */
- continue; // -- fails tests, but why not here?
+ continue;
}
if (zm->limit == zm->iteration_cnt)
{
"Returned %llu results, more results available\n",
(unsigned long long) limit);
return; /* more results later after we get the
-#GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_NEXT message */
+ #GNUNET_MESSAGE_TYPE_NAMESTORE_ZONE_ITERATION_NEXT message */
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Completed iteration after %llu/%llu results\n",
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
}
-
/**
* Begin monitoring a zone for changes. If @a iterate_first is set,
* we Will first call the @a monitor function on all existing records
GNUNET_SQ_result_spec_end
};
- if (NULL == zone_key)
- {
- ret = GNUNET_SQ_extract_result (stmt,
- rsx);
- }
- else
- {
- ret = GNUNET_SQ_extract_result (stmt,
- rs);
- }
+ ret = GNUNET_SQ_extract_result (stmt,
+ (NULL == zone_key)
+ ? rsx
+ : rs);
if ( (GNUNET_OK != ret) ||
(record_count > 64 * 1024) )
{