comparison src/protocols/zephyr/ZLocations.c @ 7475:08ce2a94d9c7

[gaim-migrate @ 8088] I made Gaim compile with -ansi in my CFLAGS... I don't really know why. I had to set HAVE_GETADDRINFO and HAVE_SIGNAL_H to 0 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 11 Nov 2003 07:08:13 +0000
parents 7ba69b8e0de5
children 43d6c08d7e96
comparison
equal deleted inserted replaced
7474:2bdacd38528c 7475:08ce2a94d9c7
3 * ZFlushMyLocations functions. 3 * ZFlushMyLocations functions.
4 * 4 *
5 * Created by: Robert French 5 * Created by: Robert French
6 * 6 *
7 * $Source$ 7 * $Source$
8 * $Author: warmenhoven $ 8 * $Author: thekingant $
9 * 9 *
10 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of Technology. 10 * Copyright (c) 1987,1988,1991 by the Massachusetts Institute of Technology.
11 * For copying and distribution information, see the file 11 * For copying and distribution information, see the file
12 * "mit-copyright.h". 12 * "mit-copyright.h".
13 */ 13 */
63 struct hostent *hent; 63 struct hostent *hent;
64 short wg_port = ZGetWGPort(); 64 short wg_port = ZGetWGPort();
65 65
66 (void) memset((char *)&notice, 0, sizeof(notice)); 66 (void) memset((char *)&notice, 0, sizeof(notice));
67 notice.z_kind = ACKED; 67 notice.z_kind = ACKED;
68 notice.z_port = (u_short) ((wg_port == -1) ? 0 : wg_port); 68 notice.z_port = (unsigned short) ((wg_port == -1) ? 0 : wg_port);
69 notice.z_class = class; 69 notice.z_class = class;
70 notice.z_class_inst = ZGetSender(); 70 notice.z_class_inst = ZGetSender();
71 notice.z_opcode = opcode; 71 notice.z_opcode = opcode;
72 notice.z_sender = 0; 72 notice.z_sender = 0;
73 notice.z_recipient = ""; 73 notice.z_recipient = "";