Mercurial > pidgin
comparison src/protocols/zephyr/ZOpenPort.c @ 11318:519dc2186438
[gaim-migrate @ 13521]
Bits and pieces all over the place. I was hunting down compiler warnings
all over the place, with crazy CFLAGS. I think I might have got a bit
carried away.
I made the perl stuff compile with gcc 2.x (which don't support
mixed declerations and statements), I think what I did was safe but
readily admit I have no clue how all the perl stuff works.
Rename gaim_presence_add_presence() to gaim_presence_add_list() (to match
the header file - obviously nothing actually _uses_ this)
Implement gaim_savedstatus_get_handle() because it's in the header file.
Remove gaim_account_set_presence() from account.h - it's not actually
implemented anywhere, so it can't be that important.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 20 Aug 2005 20:17:08 +0000 |
parents | 64895571248f |
children |
comparison
equal
deleted
inserted
replaced
11317:cdd9d1011d97 | 11318:519dc2186438 |
---|---|
17 | 17 |
18 Code_t ZOpenPort(port) | 18 Code_t ZOpenPort(port) |
19 unsigned short *port; | 19 unsigned short *port; |
20 { | 20 { |
21 struct sockaddr_in bindin; | 21 struct sockaddr_in bindin; |
22 int len; | 22 socklen_t len; |
23 | 23 |
24 (void) ZClosePort(); | 24 (void) ZClosePort(); |
25 | 25 |
26 if ((__Zephyr_fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { | 26 if ((__Zephyr_fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { |
27 __Zephyr_fd = -1; | 27 __Zephyr_fd = -1; |