Mercurial > pidgin.yaz
comparison src/protocols/zephyr/ZSubs.c @ 2419:7ba69b8e0de5
[gaim-migrate @ 2432]
Salvatore Valente says this is better.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 03 Oct 2001 19:38:28 +0000 |
parents | 424a40f12a6c |
children | ec20536eaeb0 |
comparison
equal
deleted
inserted
replaced
2418:a2cc1cf4198f | 2419:7ba69b8e0de5 |
---|---|
14 /* $Header$ */ | 14 /* $Header$ */ |
15 | 15 |
16 #include <internal.h> | 16 #include <internal.h> |
17 | 17 |
18 #ifndef lint | 18 #ifndef lint |
19 static const char rcsid_ZSubscriptions_c[] = "$Id: ZSubs.c 2096 2001-07-31 01:00:39Z warmenhoven $"; | 19 static const char rcsid_ZSubscriptions_c[] = "$Id: ZSubs.c 2432 2001-10-03 19:38:28Z warmenhoven $"; |
20 #endif | 20 #endif |
21 | 21 |
22 static Code_t Z_Subscriptions __P((register ZSubscription_t *sublist, | 22 static Code_t Z_Subscriptions __P((register ZSubscription_t *sublist, |
23 int nitems, unsigned int port, | 23 int nitems, unsigned int port, |
24 char *opcode, int authit)); | 24 char *opcode, int authit)); |
101 | 101 |
102 /* format the header to figure out how long it is */ | 102 /* format the header to figure out how long it is */ |
103 retval = Z_FormatHeader(¬ice, header, sizeof(header), &hdrlen, ZAUTH); | 103 retval = Z_FormatHeader(¬ice, header, sizeof(header), &hdrlen, ZAUTH); |
104 if (retval != ZERR_NONE && !authit) | 104 if (retval != ZERR_NONE && !authit) |
105 retval = Z_FormatHeader(¬ice, header, sizeof(header), | 105 retval = Z_FormatHeader(¬ice, header, sizeof(header), |
106 &hdrlen, ZAUTH); | 106 &hdrlen, ZNOAUTH); |
107 if (retval != ZERR_NONE) { | 107 if (retval != ZERR_NONE) { |
108 free((char *)list); | 108 free((char *)list); |
109 return(retval); | 109 return(retval); |
110 } | 110 } |
111 | 111 |