summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/core.cpp
diff options
context:
space:
mode:
authorSzymon Tokarz <wsx22@o2.pl>2012-12-31 13:22:28 +0000
committerSzymon Tokarz <wsx22@o2.pl>2012-12-31 13:22:28 +0000
commitfd19769f410fe114451ea1329f676ed28c555b2f (patch)
tree5b521f080dcb3b7e785c9c14edce80249dfc51d0 /protocols/Gadu-Gadu/src/core.cpp
parent6410348ada83ca5fea19f706506ae4afaf8f4a89 (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/core.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/core.cpp b/protocols/Gadu-Gadu/src/core.cpp
index 24f237ca2c..cb31486925 100644
--- a/protocols/Gadu-Gadu/src/core.cpp
+++ b/protocols/Gadu-Gadu/src/core.cpp
@@ -436,7 +436,7 @@ retry:
}
}
if (!perror) {
- mir_sntprintf(error, SIZEOF(error), TranslateT("Connection cannot be established because of error:\n\t%s"), _tcserror(errno));
+ mir_sntprintf(error, SIZEOF(error), TranslateT("Connection cannot be established. errno=%d: %s"),errno, strerror(errno));
perror = error;
}
netlog("mainthread() (%x): %s", this, perror);