summaryrefslogtreecommitdiff
path: root/plugins/NotesAndReminders/src/miscutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NotesAndReminders/src/miscutils.cpp')
-rw-r--r--plugins/NotesAndReminders/src/miscutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NotesAndReminders/src/miscutils.cpp b/plugins/NotesAndReminders/src/miscutils.cpp
index 676bfbbed9..8e2197ff55 100644
--- a/plugins/NotesAndReminders/src/miscutils.cpp
+++ b/plugins/NotesAndReminders/src/miscutils.cpp
@@ -38,7 +38,7 @@ void WS_CleanUp()
WSACleanup();
}
-int WS_Send(SOCKET s, char *data, int datalen)
+int WS_Send(SOCKET s, const char *data, int datalen)
{
int rlen;
if ((rlen = send(s, data, datalen, 0)) == SOCKET_ERROR) return FALSE;
@@ -68,7 +68,7 @@ unsigned long WS_ResolveName(char *name, WORD *port, int defaultPort)
return ret;
}
-void Send(char *user, char *host, char *Msg, char *server)
+void Send(char *user, char *host, const char *Msg, char *server)
{
SOCKADDR_IN sockaddr;
WORD port;