BIND 10 master, updated. 3a7fba8e0764537e4782b8625b548bd199e30e28 [master] Use const reference instead of creating a copy of Name

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jun 18 08:00:17 UTC 2013


The branch, master has been updated
       via  3a7fba8e0764537e4782b8625b548bd199e30e28 (commit)
      from  7f026c48836d9366316469190e0f82b882b228c0 (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 3a7fba8e0764537e4782b8625b548bd199e30e28
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue Jun 18 13:29:42 2013 +0530

    [master] Use const reference instead of creating a copy of Name

-----------------------------------------------------------------------

Summary of changes:
 .../isc/datasrc/configurableclientlist_python.cc   |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/datasrc/configurableclientlist_python.cc b/src/lib/python/isc/datasrc/configurableclientlist_python.cc
index 86b0cd9..ba020eb 100644
--- a/src/lib/python/isc/datasrc/configurableclientlist_python.cc
+++ b/src/lib/python/isc/datasrc/configurableclientlist_python.cc
@@ -166,7 +166,7 @@ ConfigurableClientList_getCachedZoneWriter(PyObject* po_self, PyObject* args) {
         const char* datasrc_name_p = "";
         if (PyArg_ParseTuple(args, "O!|s", &isc::dns::python::name_type,
                              &name_obj, &datasrc_name_p)) {
-            const isc::dns::Name
+            const isc::dns::Name&
                 name(isc::dns::python::PyName_ToName(name_obj));
             const std::string datasrc_name(datasrc_name_p);
 



More information about the bind10-changes mailing list