BIND 10 #571: Question::toText() and newline

BIND 10 Development do-not-reply at isc.org
Fri Feb 11 18:23:16 UTC 2011


#571: Question::toText() and newline
------------------------------------+---------------------------------
           Reporter:  jreed         |                      Owner:
               Type:  defect        |                     Status:  new
           Priority:  minor         |                  Milestone:
          Component:  Unclassified  |                   Keywords:
          Sensitive:  0             |  Estimated Number of Hours:  0
Add Hours to Ticket:  0             |                  Billable?:  1
        Total Hours:  0             |                  Internal?:  0
------------------------------------+---------------------------------
 See src/lib/dns/question.cc

 {{{

 Question::toText() const {
     return (name_.toText() + " " + rrclass_.toText() + " " +
             rrtype_.toText() + "\n");
 }

 }}}


 The verbose output using it has these newlines, for example:

 {{{
 [b10-resolver] Sending upstream query (isc.org. IN A
 ) to 127.0.0.1
 }}}

 and:

 {{{
 ;; QUESTION SECTION:
 ;isc.org. IN A
  to 127.0.0.1
 }}}

 Not sure if there is a different routine that doesn't add newline or if
 this should be done slightly different.
 Some toText routines add newline and some do not.

-- 
Ticket URL: <https://bind10.isc.org/ticket/571>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list