Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/slpcall.c @ 31301:16ab805406d1
Get rid of the offset field in the SlpMessage in favor of the one in the Header.
author | masca@cpw.pidgin.im |
---|---|
date | Thu, 05 Aug 2010 21:58:13 +0000 |
parents | 6814678f3c63 |
children | 5964f65c17ed |
comparison
equal
deleted
inserted
replaced
31300:5ad928319db0 | 31301:16ab805406d1 |
---|---|
1058 const guchar *body; | 1058 const guchar *body; |
1059 gsize body_len; | 1059 gsize body_len; |
1060 | 1060 |
1061 slpcall = NULL; | 1061 slpcall = NULL; |
1062 body = slpmsg->buffer; | 1062 body = slpmsg->buffer; |
1063 body_len = slpmsg->offset; | 1063 body_len = slpmsg->header->offset; |
1064 | 1064 |
1065 if (slpmsg->flags == P2P_NO_FLAG || slpmsg->flags == P2P_WML2009_COMP) | 1065 if (slpmsg->flags == P2P_NO_FLAG || slpmsg->flags == P2P_WML2009_COMP) |
1066 { | 1066 { |
1067 char *body_str; | 1067 char *body_str; |
1068 | 1068 |