]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Convert char* to const char* in InspSocket constructor prototype. Shouldn't break...
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 29 Jun 2006 07:00:25 +0000 (07:00 +0000)
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 29 Jun 2006 07:00:25 +0000 (07:00 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4080 e03df62e-2008-0410-955e-edbf42e46eb7

include/inspsocket.h
src/inspsocket.cpp

index 7e8593391790cab6c724390e4c25c79c2b230a3d..e32b06bbbe8226764252fd41989abb30c23c1ab0 100644 (file)
@@ -174,7 +174,7 @@ public:
         * will be set with the given IP address
         * and placed in CONNECTED state.
         */
-       InspSocket(int newfd, char* ip);
+       InspSocket(int newfd, const char* ip);
 
        /**
         * This constructor is used to create a new
index 651a02b71d550da6e734eb6573675b6f55acabb4..3de8e92b6d3508b69510e655a481ea4d446a5274 100644 (file)
@@ -42,7 +42,7 @@ InspSocket::InspSocket()
        this->ClosePending = false;
 }
 
-InspSocket::InspSocket(int newfd, char* ip)
+InspSocket::InspSocket(int newfd, const char* ip)
 {
        this->fd = newfd;
        this->state = I_CONNECTED;