Mercurial > pidgin
comparison src/protocols/zephyr/Zinternal.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 | 7c2e2c4d45a4 |
comparison
equal
deleted
inserted
replaced
11317:cdd9d1011d97 | 11318:519dc2186438 |
---|---|
231 { | 231 { |
232 register struct _Z_InputQ *qptr; | 232 register struct _Z_InputQ *qptr; |
233 ZNotice_t notice; | 233 ZNotice_t notice; |
234 ZPacket_t packet; | 234 ZPacket_t packet; |
235 struct sockaddr_in olddest, from; | 235 struct sockaddr_in olddest, from; |
236 int from_len, packet_len, zvlen, part, partof; | 236 int packet_len, zvlen, part, partof; |
237 socklen_t from_len; | |
237 char *slash; | 238 char *slash; |
238 Code_t retval; | 239 Code_t retval; |
239 fd_set fds; | 240 fd_set fds; |
240 struct timeval tv; | 241 struct timeval tv; |
241 | 242 |
593 Z_AuthProc cert_routine; | 594 Z_AuthProc cert_routine; |
594 { | 595 { |
595 Code_t retval; | 596 Code_t retval; |
596 static char version[BUFSIZ]; /* default init should be all \0 */ | 597 static char version[BUFSIZ]; /* default init should be all \0 */ |
597 struct sockaddr_in name; | 598 struct sockaddr_in name; |
598 int namelen = sizeof(name); | 599 socklen_t namelen = sizeof(name); |
599 | 600 |
600 if (!notice->z_sender) | 601 if (!notice->z_sender) |
601 notice->z_sender = ZGetSender(); | 602 notice->z_sender = ZGetSender(); |
602 | 603 |
603 if (notice->z_port == 0) { | 604 if (notice->z_port == 0) { |