[svn] commit: r2178 - in /branches/trac221/src/lib/xfr: xfrout_client.cc xfrout_client.h

BIND 10 source code commits bind10-changes at lists.isc.org
Sun Jun 20 07:06:21 UTC 2010


Author: jinmei
Date: Sun Jun 20 07:06:21 2010
New Revision: 2178

Log:
fixed the signature of sendXfroutRequestInfo to be consistent with AuthSrv.
it's actually more reasonable in terms of how it's used in this function.

Modified:
    branches/trac221/src/lib/xfr/xfrout_client.cc
    branches/trac221/src/lib/xfr/xfrout_client.h

Modified: branches/trac221/src/lib/xfr/xfrout_client.cc
==============================================================================
--- branches/trac221/src/lib/xfr/xfrout_client.cc (original)
+++ branches/trac221/src/lib/xfr/xfrout_client.cc Sun Jun 20 07:06:21 2010
@@ -61,7 +61,8 @@
 }
 
 int 
-XfroutClient::sendXfroutRequestInfo(const int tcp_sock, uint8_t* msg_data,
+XfroutClient::sendXfroutRequestInfo(const int tcp_sock,
+                                    const void* const msg_data,
                                     const uint16_t msg_len)
 {
     if (-1 == send_fd(impl_->socket_.native(), tcp_sock)) {

Modified: branches/trac221/src/lib/xfr/xfrout_client.h
==============================================================================
--- branches/trac221/src/lib/xfr/xfrout_client.h (original)
+++ branches/trac221/src/lib/xfr/xfrout_client.h Sun Jun 20 07:06:21 2010
@@ -45,7 +45,7 @@
 public:
     void connect();
     void disconnect();
-    int sendXfroutRequestInfo(int tcp_sock, uint8_t* msg_data,
+    int sendXfroutRequestInfo(int tcp_sock, const void* msg_data,
                               uint16_t msg_len);
 private:
     XfroutClientImpl* impl_;




More information about the bind10-changes mailing list