summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/dialogs.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/dialogs.cpp b/protocols/Gadu-Gadu/src/dialogs.cpp
index 5ace2600c9..1c57a0b590 100644
--- a/protocols/Gadu-Gadu/src/dialogs.cpp
+++ b/protocols/Gadu-Gadu/src/dialogs.cpp
@@ -190,7 +190,7 @@ void GGPROTO::checknewuser(uin_t uin, const char* passwd)
oldpasswd[0] = '\0';
if (!getString(GG_KEY_PASSWORD, &dbv))
{
- if (dbv.pszVal) strcpy(oldpasswd, dbv.pszVal);
+ if (dbv.pszVal) mir_strcpy(oldpasswd, dbv.pszVal);
db_free(&dbv);
}