Browse Source

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.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac221@2178 e5f2f494-b856-4b98-b285-d166d9295462

JINMEI Tatuya 15 years ago
parent
commit
7d855f21fb
2 changed files with 3 additions and 2 deletions
  1. 2 1
      src/lib/xfr/xfrout_client.cc
  2. 1 1
      src/lib/xfr/xfrout_client.h

+ 2 - 1
src/lib/xfr/xfrout_client.cc

@@ -61,7 +61,8 @@ XfroutClient::disconnect() {
 }
 }
 
 
 int 
 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)
                                     const uint16_t msg_len)
 {
 {
     if (-1 == send_fd(impl_->socket_.native(), tcp_sock)) {
     if (-1 == send_fd(impl_->socket_.native(), tcp_sock)) {

+ 1 - 1
src/lib/xfr/xfrout_client.h

@@ -45,7 +45,7 @@ private:
 public:
 public:
     void connect();
     void connect();
     void disconnect();
     void disconnect();
-    int sendXfroutRequestInfo(int tcp_sock, uint8_t* msg_data,
+    int sendXfroutRequestInfo(int tcp_sock, const void* msg_data,
                               uint16_t msg_len);
                               uint16_t msg_len);
 private:
 private:
     XfroutClientImpl* impl_;
     XfroutClientImpl* impl_;