comparison libpurple/protocols/gg/lib/handlers.c @ 32762:9c9143e32b6c

Gadu-Gadu: fix win32 warnings, patch from upstream.
author tomkiewicz@cpw.pidgin.im
date Mon, 17 Oct 2011 20:09:23 +0000
parents 3a90a59ddea2
children ef01f180114b
comparison
equal deleted inserted replaced
32761:e96c34989561 32762:9c9143e32b6c
90 struct gg_welcome *w; 90 struct gg_welcome *w;
91 int ret; 91 int ret;
92 uint8_t hash_buf[64]; 92 uint8_t hash_buf[64];
93 uint32_t local_ip; 93 uint32_t local_ip;
94 struct sockaddr_in sin; 94 struct sockaddr_in sin;
95 unsigned int sin_len = sizeof(sin); 95 socklen_t sin_len = sizeof(sin);
96 96
97 if (len < sizeof(struct gg_welcome)) { 97 if (len < sizeof(struct gg_welcome)) {
98 ge->type = GG_EVENT_CONN_FAILED; 98 ge->type = GG_EVENT_CONN_FAILED;
99 ge->event.failure = GG_FAILURE_INVALID; 99 ge->event.failure = GG_FAILURE_INVALID;
100 gs->state = GG_STATE_IDLE; 100 gs->state = GG_STATE_IDLE;