diff options
Diffstat (limited to 'protocols/Gadu-Gadu/src/import.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/import.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/import.cpp b/protocols/Gadu-Gadu/src/import.cpp index b82a30418f..6922b85c2c 100644 --- a/protocols/Gadu-Gadu/src/import.cpp +++ b/protocols/Gadu-Gadu/src/import.cpp @@ -385,6 +385,7 @@ INT_PTR GGPROTO::import_text(WPARAM wParam, LPARAM lParam) mir_free(contacts);
MessageBox(NULL, TranslateT("List import successful."), m_tszUserName, MB_OK | MB_ICONINFORMATION);
+ return 0;
}
else
{
@@ -392,9 +393,9 @@ INT_PTR GGPROTO::import_text(WPARAM wParam, LPARAM lParam) mir_sntprintf(error, TranslateT("List cannot be imported from file \"%s\" because of error:\n\t%s (Error: %d)"), str, _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
debugLog(_T("import_text(): Cannot import list from file \"%s\". errno=%d: %s"), str, errno, strerror(errno));
+ fclose(f);
+ return 0;
}
-
- return 0;
}
INT_PTR GGPROTO::export_text(WPARAM wParam, LPARAM lParam)
|