diff options
Diffstat (limited to 'protocols/Gadu-Gadu/src/libgadu/common.c')
-rw-r--r-- | protocols/Gadu-Gadu/src/libgadu/common.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Gadu-Gadu/src/libgadu/common.c b/protocols/Gadu-Gadu/src/libgadu/common.c index b9b41c0547..f1db6c4b7f 100644 --- a/protocols/Gadu-Gadu/src/libgadu/common.c +++ b/protocols/Gadu-Gadu/src/libgadu/common.c @@ -366,7 +366,7 @@ char *gg_read_line(SOCKET sock, char *buf, int length) *
* \ingroup helper
*/
-#ifdef GG_CONFIG_MIRANDA +#ifdef GG_CONFIG_MIRANDA
SOCKET gg_connect_internal(void *addr, int port, int async, SOCKET *gg_sock)
#else
SOCKET gg_connect(void *addr, int port, int async)
@@ -398,8 +398,8 @@ SOCKET gg_connect(void *addr, int port, int async) return -1;
}
-#ifdef GG_CONFIG_MIRANDA - if (gg_sock) *gg_sock = sock; +#ifdef GG_CONFIG_MIRANDA
+ if (gg_sock) *gg_sock = sock;
#endif
if (async) {
@@ -435,7 +435,7 @@ SOCKET gg_connect(void *addr, int port, int async) return sock;
}
-#ifdef GG_CONFIG_MIRANDA +#ifdef GG_CONFIG_MIRANDA
SOCKET gg_connect(void *addr, int port, int async)
{
return gg_connect_internal(addr, port, async, 0);
@@ -541,7 +541,7 @@ int gg_http_hash(const char *format, ...) char *arg, buf[16];
if (format[j] == 'u') {
- snprintf(buf, sizeof(buf), "%d", va_arg(ap, uin_t));
+ mir_snprintf(buf, sizeof(buf), "%d", va_arg(ap, uin_t));
arg = buf;
} else {
if (!(arg = va_arg(ap, char*)))
|