summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/KeepStatus/keepstatus.cpp')
-rw-r--r--plugins/StatusPlugins/KeepStatus/keepstatus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusPlugins/KeepStatus/keepstatus.cpp b/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
index 668b2cceea..2242d866f9 100644
--- a/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
+++ b/plugins/StatusPlugins/KeepStatus/keepstatus.cpp
@@ -802,7 +802,7 @@ static void CheckContinueslyFunction(void *)
while ((*end != ' ') && (*end != '\0'))
end++;
memset(host, '\0', sizeof(host));
- strncpy(host, start, end - start);
+ mir_strncpy(host, start, end - start);
hostent = gethostbyname(host);
if (hostent != NULL) {
addr = (DWORD *)(*hostent->h_addr_list);