summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/import.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/import.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/import.cpp b/protocols/Gadu-Gadu/src/import.cpp
index c39509f68a..536da7cb30 100644
--- a/protocols/Gadu-Gadu/src/import.cpp
+++ b/protocols/Gadu-Gadu/src/import.cpp
@@ -441,7 +441,7 @@ INT_PTR GGPROTO::export_text(WPARAM wParam, LPARAM lParam)
FILE *f = _tfopen(str, _T("w"));
if (f) {
char *contacts = gg_makecontacts(this, 0);
- fwrite(contacts, sizeof(char), strlen(contacts), f);
+ fwrite(contacts, sizeof(char), mir_strlen(contacts), f);
fclose(f);
free(contacts);