Mercurial > pidgin
comparison libgaim/protocols/qq/qq_proxy.c @ 14610:473b225e7352
[gaim-migrate @ 17338]
Eliminate a dependency in crypt.c by replacing ntohl() (etc) with g_ntohl() (etc). Also replace those calls in the rest of the QQ prpl, to be consistent.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Fri, 22 Sep 2006 16:05:09 +0000 |
parents | 902c3aa4950a |
children | 108152f29f37 |
comparison
equal
deleted
inserted
replaced
14609:36ededd6e064 | 14610:473b225e7352 |
---|---|
48 static void _qq_show_socket(gchar *desc, gint fd) { | 48 static void _qq_show_socket(gchar *desc, gint fd) { |
49 struct sockaddr_in sin; | 49 struct sockaddr_in sin; |
50 socklen_t len = sizeof(sin); | 50 socklen_t len = sizeof(sin); |
51 getsockname(fd, (struct sockaddr *)&sin, &len); | 51 getsockname(fd, (struct sockaddr *)&sin, &len); |
52 gaim_debug(GAIM_DEBUG_INFO, desc, "%s:%d\n", | 52 gaim_debug(GAIM_DEBUG_INFO, desc, "%s:%d\n", |
53 inet_ntoa(sin.sin_addr), ntohs(sin.sin_port)); | 53 inet_ntoa(sin.sin_addr), g_ntohs(sin.sin_port)); |
54 } | 54 } |
55 */ | 55 */ |
56 | 56 |
57 void _qq_show_packet(const gchar *desc, const guint8 *buf, gint len) | 57 void _qq_show_packet(const gchar *desc, const guint8 *buf, gint len) |
58 { | 58 { |