]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1522] cleanup: constify
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 23 Dec 2011 03:08:09 +0000 (19:08 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 23 Dec 2011 03:08:09 +0000 (19:08 -0800)
src/lib/server_common/socket_request.cc

index 0c405bea54ff464f301eb6a95603f7a2e16d7bdf..a5ab84e9c4c748a9399863bdf7e8750e90fda666 100644 (file)
@@ -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) {