diff options
author | Szymon Tokarz <wsx22@o2.pl> | 2012-10-21 22:53:31 +0000 |
---|---|---|
committer | Szymon Tokarz <wsx22@o2.pl> | 2012-10-21 22:53:31 +0000 |
commit | d14590f9a60a4ba217ba379273c9d41c1293ca82 (patch) | |
tree | 5b643f9ef723bd797935e8bfadbb408ffc156ba3 /protocols/Gadu-Gadu/src/gg.cpp | |
parent | b5bea6ef18bd33fbb424ae9f909c119496463d02 (diff) |
Gadu-Gadu protocol
- contact's avatars requesting fix
- images transfer fix
- some fixes in TCHAR handling
should fix #5, #15 and #45
git-svn-id: http://svn.miranda-ng.org/main/trunk@2038 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/gg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Gadu-Gadu/src/gg.cpp b/protocols/Gadu-Gadu/src/gg.cpp index 5bd9f6ceb5..b75b439af0 100644 --- a/protocols/Gadu-Gadu/src/gg.cpp +++ b/protocols/Gadu-Gadu/src/gg.cpp @@ -113,23 +113,23 @@ unsigned long crc_get(char *mem) // http_error_string()
//
// returns http error text
-const char *http_error_string(int h)
+const TCHAR *http_error_string(int h)
{
switch (h)
{
case 0:
- return Translate((errno == ENOMEM) ? "HTTP failed memory" : "HTTP failed connecting");
+ return (errno == ENOMEM) ? TranslateT("HTTP failed memory") : TranslateT("HTTP failed connecting");
case GG_ERROR_RESOLVING:
- return Translate("HTTP failed resolving");
+ return TranslateT("HTTP failed resolving");
case GG_ERROR_CONNECTING:
- return Translate("HTTP failed connecting");
+ return TranslateT("HTTP failed connecting");
case GG_ERROR_READING:
- return Translate("HTTP failed reading");
+ return TranslateT("HTTP failed reading");
case GG_ERROR_WRITING:
- return Translate("HTTP failed writing");
+ return TranslateT("HTTP failed writing");
}
- return Translate("Unknown HTTP error");
+ return TranslateT("Unknown HTTP error");
}
//////////////////////////////////////////////////////////
|