summaryrefslogtreecommitdiff
path: root/plugins/Watrack_MPD/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack_MPD/src/main.cpp')
-rwxr-xr-xplugins/Watrack_MPD/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack_MPD/src/main.cpp b/plugins/Watrack_MPD/src/main.cpp
index 4324eb91d9..567d1c00d7 100755
--- a/plugins/Watrack_MPD/src/main.cpp
+++ b/plugins/Watrack_MPD/src/main.cpp
@@ -87,8 +87,8 @@ int Parser()
if(mir_strlen(tmp2) > 2)
{
mir_strcpy(tmp, "password ");
- strcat(tmp, tmp2);
- strcat(tmp, "\n");
+ mir_strcat(tmp, tmp2);
+ mir_strcat(tmp, "\n");
Netlib_Send(ghConnection, tmp, (int)mir_strlen(tmp), 0);
recvResult = CallService(MS_NETLIB_GETMOREPACKETS,(WPARAM)ghPacketReciever, (LPARAM)&nlpr);
if(recvResult == SOCKET_ERROR)