diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-22 14:00:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-22 14:00:43 +0300 |
commit | 79742b2d021b99425d4c9ceac871deb6b8967cee (patch) | |
tree | 5359f8d0b4aa64a1e54ebc6436e9a367b4470e31 /plugins/NotesAndReminders/src/miscutils.cpp | |
parent | 11bd2b97b306e9df877f8adbc3fac971137c2bce (diff) |
fixes #1660 completely
Diffstat (limited to 'plugins/NotesAndReminders/src/miscutils.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/miscutils.cpp | 4 |
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;
|