summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/labelsequence.cc
diff options
context:
space:
mode:
authorJelte Jansen <jelte@isc.org>2012-07-12 12:35:54 +0200
committerJelte Jansen <jelte@isc.org>2012-07-12 12:35:54 +0200
commit3198b650ccc2be44c93a380c3db4d5fe6429e940 (patch)
treec9bff9e4b7ccd13313eff9838561bf3284735be6 /src/lib/dns/labelsequence.cc
parent[2086] add one more test (diff)
downloadkea-3198b650ccc2be44c93a380c3db4d5fe6429e940.tar.xz
kea-3198b650ccc2be44c93a380c3db4d5fe6429e940.zip
[2086] Address review comments
- style fix in return value - updated header documentation - added common label count checks to tests
Diffstat (limited to 'src/lib/dns/labelsequence.cc')
-rw-r--r--src/lib/dns/labelsequence.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dns/labelsequence.cc b/src/lib/dns/labelsequence.cc
index 6e778f42ae..ff73660404 100644
--- a/src/lib/dns/labelsequence.cc
+++ b/src/lib/dns/labelsequence.cc
@@ -26,7 +26,7 @@ namespace dns {
const uint8_t*
LabelSequence::getData(size_t *len) const {
*len = getDataLength();
- return &(data_[offsets_[first_label_]]);
+ return (&data_[offsets_[first_label_]]);
}
size_t