Mercurial > pidgin
comparison libgaim/protocols/zephyr/Zinternal.c @ 14956:0b98802a97cf
[gaim-migrate @ 17735]
(09:35:51) Alver: http://studwww.ugent.be/~lvalboom/zephyr.patch
(09:36:03) LSchiere2: how many do you have?
(09:36:14) Alver: That's all so far
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 10 Nov 2006 14:38:08 +0000 |
parents | 60b1bc8dbf37 |
children |
comparison
equal
deleted
inserted
replaced
14955:e3daf404bf2c | 14956:0b98802a97cf |
---|---|
891 htonl((unsigned long) partnotice.z_uid.tv.tv_usec); | 891 htonl((unsigned long) partnotice.z_uid.tv.tv_usec); |
892 (void) memcpy((char *)&partnotice.z_uid.zuid_addr, &__My_addr, | 892 (void) memcpy((char *)&partnotice.z_uid.zuid_addr, &__My_addr, |
893 sizeof(__My_addr)); | 893 sizeof(__My_addr)); |
894 } | 894 } |
895 message_len = min(notice->z_message_len-offset, fragsize); | 895 message_len = min(notice->z_message_len-offset, fragsize); |
896 partnotice.z_message = notice->z_message+offset; | 896 partnotice.z_message = (char*)notice->z_message+offset; |
897 partnotice.z_message_len = message_len; | 897 partnotice.z_message_len = message_len; |
898 if ((retval = Z_FormatAuthHeader(&partnotice, buffer, Z_MAXHEADERLEN, | 898 if ((retval = Z_FormatAuthHeader(&partnotice, buffer, Z_MAXHEADERLEN, |
899 &ret_len, cert_func)) != ZERR_NONE) { | 899 &ret_len, cert_func)) != ZERR_NONE) { |
900 return (retval); | 900 return (retval); |
901 } | 901 } |