static guint8* packet_add_probe_query(flxPacketScheduler *s, flxDnsPacket *p, flxProbeJob *pj) {
guint size;
- guint8 *r;
+ guint8 *ret;
flxKey *k;
g_assert(s);
/* Create the probe query */
k = flx_key_new(pj->record->key->name, pj->record->key->class, FLX_DNS_TYPE_ANY);
- r = flx_dns_packet_append_key(p, k);
+ ret = flx_dns_packet_append_key(p, k);
+ g_assert(ret);
/* Mark this job for addition to the packet */
pj->chosen = TRUE;
flx_key_unref(k);
- return r;
+ return ret;
}
static void probe_elapse(flxTimeEvent *e, gpointer data) {
/* Add the import probe */
if (!packet_add_probe_query(s, p, pj)) {
- g_warning("Record too large!");
+ g_warning("Record too large! ---");
flx_dns_packet_free(p);
return;
}