From 4a58726d8b78b506216f81998c812b0c8c468daa Mon Sep 17 00:00:00 2001 From: om Date: Thu, 29 Jun 2006 07:00:25 +0000 Subject: Convert char* to const char* in InspSocket constructor prototype. Shouldn't break anything but ought to help lose some ugleh casts... >:) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4080 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 651a02b71..3de8e92b6 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -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; -- cgit v1.2.3