diff options
author | Szymon Tokarz <wsx22@o2.pl> | 2012-12-31 13:22:28 +0000 |
---|---|---|
committer | Szymon Tokarz <wsx22@o2.pl> | 2012-12-31 13:22:28 +0000 |
commit | fd19769f410fe114451ea1329f676ed28c555b2f (patch) | |
tree | 5b521f080dcb3b7e785c9c14edce80249dfc51d0 /protocols/Gadu-Gadu/src/ownerinfo.cpp | |
parent | 6410348ada83ca5fea19f706506ae4afaf8f4a89 (diff) |
Gadu-Gadu protocol:
- show error popup when file io function returns an error code
hope to explain avatar problems
git-svn-id: http://svn.miranda-ng.org/main/trunk@2895 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/ownerinfo.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/ownerinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/ownerinfo.cpp b/protocols/Gadu-Gadu/src/ownerinfo.cpp index a0549f8316..4acf245682 100644 --- a/protocols/Gadu-Gadu/src/ownerinfo.cpp +++ b/protocols/Gadu-Gadu/src/ownerinfo.cpp @@ -57,9 +57,9 @@ void __cdecl GGPROTO::remindpasswordthread(void *param) if (!(h = gg_remind_passwd3(rp->uin, rp->email, token.id, token.val, 0)))
{
TCHAR error[128];
- mir_sntprintf(error, SIZEOF(error), TranslateT("Password could not be reminded because of error:\n\t%s"), _tcserror(errno));
+ mir_sntprintf(error, SIZEOF(error), TranslateT("Password could not be reminded because of error:\n\t%s (Error: %d)"), _tcserror(errno), errno);
MessageBox(NULL, error, m_tszUserName, MB_OK | MB_ICONSTOP);
- netlog("remindpasswordthread(): Password could not be reminded because of \"%s\".", strerror(errno));
+ netlog("remindpasswordthread(): Password could not be reminded. errno=%d: %s", errno, strerror(errno));
}
else
{
|