summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_opt.cpp')
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index 5afc459a87..bdf8e06dc0 100644
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -1232,11 +1232,8 @@ void CJabberProto::_RosterExportToFile(HWND hwndDlg)
fwrite(header, 1, sizeof(header) - 1 /* for zero terminator */, fp);
TCHAR *xtmp = xi.toString(root, NULL);
- char *tmp = mir_utf8encodeT(xtmp);
+ fputs(T2Utf(xtmp), fp);
xi.freeMem(xtmp);
-
- fwrite(tmp, 1, mir_strlen(tmp), fp);
- mir_free(tmp);
fclose(fp);
}