]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2535] Add comment about the \xxx escaped format
authorMukund Sivaraman <muks@isc.org>
Fri, 21 Dec 2012 05:08:46 +0000 (10:38 +0530)
committerMukund Sivaraman <muks@isc.org>
Fri, 21 Dec 2012 05:08:46 +0000 (10:38 +0530)
src/lib/dns/rdata/generic/detail/txt_like.h

index d6fb8fac903c63a6fc5e260937b8ed95f8bb5d8f..bc063838b83f59da70add5544ff1bea257c4e5e9 100644 (file)
@@ -191,6 +191,7 @@ public:
                  c_it != (*it).end();
                  ++c_it) {
                 if ((*c_it < 0x20) || (*c_it >= 0x7f)) {
+                    // convert to escaped \xxx (decimal) format
                     s.push_back('\\');
                     s.push_back('0' + ((*c_it / 100) % 10));
                     s.push_back('0' + ((*c_it / 10) % 10));