ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/res.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/res.c (file contents):
Revision 4461 by michael, Wed Aug 13 17:05:26 2014 UTC vs.
Revision 4465 by michael, Wed Aug 13 18:56:33 2014 UTC

# Line 531 | Line 531 | proc_answer(struct reslist *request, HEA
531        case T_CNAME:
532          current += rd_length;
533          break;
534
534        default:
535 <        /* XXX I'd rather just throw away the entire bogus thing
537 <         * but its possible its just a broken nameserver with still
538 <         * valid answers. But lets do some rudimentary logging for now...
539 <         */
540 <        ilog(LOG_TYPE_IRCD, "irc_res.c bogus type %d", type);
535 >        return 0;
536          break;
537      }
538    }
539  
540 <  return 1;
540 >  return 0;
541   }
542  
543   /*

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)