BIND 10 trac1160, updated. d299036c6ac281d1d6c119c5fdbe603bed404851 [trac1160] small namespace use change
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Aug 1 09:18:05 UTC 2011
The branch, trac1160 has been updated
via d299036c6ac281d1d6c119c5fdbe603bed404851 (commit)
from e5d9f259dce621201a2c52b56b260f8de776ecc0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d299036c6ac281d1d6c119c5fdbe603bed404851
Author: Jelte Jansen <jelte at isc.org>
Date: Mon Aug 1 11:17:33 2011 +0200
[trac1160] small namespace use change
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/rdata/in_1/srv_33.cc | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata/in_1/srv_33.cc b/src/lib/dns/rdata/in_1/srv_33.cc
index 84f8661..5b8c538 100644
--- a/src/lib/dns/rdata/in_1/srv_33.cc
+++ b/src/lib/dns/rdata/in_1/srv_33.cc
@@ -27,6 +27,7 @@
using namespace std;
using namespace isc::util;
+using namespace isc::util::str;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
@@ -72,10 +73,10 @@ SRV::SRV(const string& srv_str) :
istringstream iss(srv_str);
try {
- const int32_t priority = str::tokenToNum<int32_t, 16>(str::getToken(iss));
- const int32_t weight = str::tokenToNum<int32_t, 16>(str::getToken(iss));
- const int32_t port = str::tokenToNum<int32_t, 16>(str::getToken(iss));
- const Name targetname(str::getToken(iss));
+ const int32_t priority = tokenToNum<int32_t, 16>(getToken(iss));
+ const int32_t weight = tokenToNum<int32_t, 16>(getToken(iss));
+ const int32_t port = tokenToNum<int32_t, 16>(getToken(iss));
+ const Name targetname(getToken(iss));
if (!iss.eof()) {
isc_throw(InvalidRdataText, "Unexpected input for SRV RDATA: " <<
@@ -83,7 +84,7 @@ SRV::SRV(const string& srv_str) :
}
impl_ = new SRVImpl(priority, weight, port, targetname);
- } catch (str::StringTokenError ste) {
+ } catch (StringTokenError ste) {
isc_throw(InvalidRdataText, "Invalid SRV text: " <<
ste.what() << ": " << srv_str);
}
More information about the bind10-changes
mailing list