diff options
author | Szymon Tokarz <wsx22@o2.pl> | 2016-06-19 00:50:49 +0000 |
---|---|---|
committer | Szymon Tokarz <wsx22@o2.pl> | 2016-06-19 00:50:49 +0000 |
commit | 58613ba2100154117afdffe63853bbb95a2901da (patch) | |
tree | f6013a156869edd3549351cb91cce38556352c2e /protocols/Gadu-Gadu/src/gg.h | |
parent | 7ca306fd83e41b3ee0e45f24c17bd2b04d0fe87e (diff) |
Gadu-Gadu protocol
Fix strerror related loging
- GG\libgadu code uses ansi logging (enabled only in debug mode) - use: as_strerror(errno) to properly override strerror(errno)
- use properly strerror, _tcserror, as_strerror, ws_strerror in GG code
git-svn-id: http://svn.miranda-ng.org/main/trunk@17008 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg.h')
-rw-r--r-- | protocols/Gadu-Gadu/src/gg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Gadu-Gadu/src/gg.h b/protocols/Gadu-Gadu/src/gg.h index a06ed4dfb2..4dc5f9bf3b 100644 --- a/protocols/Gadu-Gadu/src/gg.h +++ b/protocols/Gadu-Gadu/src/gg.h @@ -311,6 +311,7 @@ unsigned long crc_get(char *mem); int gg_normalizestatus(int status);
char *gg_status2db(int status, const char *suffix);
TCHAR *ws_strerror(int code);
+char *as_strerror(int code);
uint32_t swap32(uint32_t x);
const char *gg_version2string(int v);
|