diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-29 07:00:25 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-29 07:00:25 +0000 |
commit | 4a58726d8b78b506216f81998c812b0c8c468daa (patch) | |
tree | d366d54532d036dff5be5ad3ffd1522256caac4d /src/inspsocket.cpp | |
parent | fea0e87ae8c4b307a1a3cb760a0815be62bc5090 (diff) |
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
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |