BIND 10 trac1522, updated. afc36c12bea2d68fdce04d7e0a5f22c980e61edc [1522] cleanup: constify

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 23 03:19:18 UTC 2011


The branch, trac1522 has been updated
       via  afc36c12bea2d68fdce04d7e0a5f22c980e61edc (commit)
      from  8718c072463cc32d97749c2870f4f659129942ac (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 afc36c12bea2d68fdce04d7e0a5f22c980e61edc
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Dec 22 19:08:09 2011 -0800

    [1522] cleanup: constify

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

Summary of changes:
 src/lib/server_common/socket_request.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/server_common/socket_request.cc b/src/lib/server_common/socket_request.cc
index 0c405be..a5ab84e 100644
--- a/src/lib/server_common/socket_request.cc
+++ b/src/lib/server_common/socket_request.cc
@@ -265,7 +265,7 @@ private:
                       "Unknown status code returned before recv_fd " << status);
         }
 
-        int passed_sock_fd = isc::util::io::recv_fd(sock_pass_fd);
+        const int passed_sock_fd = isc::util::io::recv_fd(sock_pass_fd);
 
         // check for error values of passed_sock_fd (see fd_share.h)
         if (passed_sock_fd <= 0) {




More information about the bind10-changes mailing list