diff options
Diffstat (limited to 'plugins/ClientChangeNotify')
-rw-r--r-- | plugins/ClientChangeNotify/src/Common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ClientChangeNotify/src/Common.h b/plugins/ClientChangeNotify/src/Common.h index c5c337fe86..830ba2cff0 100644 --- a/plugins/ClientChangeNotify/src/Common.h +++ b/plugins/ClientChangeNotify/src/Common.h @@ -115,7 +115,7 @@ static __inline CString LogMessage(const char *Format, ...) {
va_list va;
char szText[8096];
- strcpy(szText, LOG_PREFIX);
+ mir_strcpy(szText, LOG_PREFIX);
va_start(va, Format);
mir_vsnprintf(szText + (lengthof(LOG_PREFIX) - 1), sizeof(szText) - (lengthof(LOG_PREFIX) - 1), Format, va);
va_end(va);
|