changeset 14034:0839a7b71325

[gaim-migrate @ 16636] Make Yahoo! packet parsing not allocate stuff twice. Who wrote this?? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 05 Aug 2006 05:42:28 +0000
parents c070fdec12a3
children 8bda65b88e49
files src/protocols/yahoo/yahoo_packet.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_packet.h	Sat Aug 05 05:40:27 2006 +0000
+++ b/src/protocols/yahoo/yahoo_packet.h	Sat Aug 05 05:42:28 2006 +0000
@@ -127,7 +127,7 @@
 int yahoo_packet_send_and_free(struct yahoo_packet *pkt, struct yahoo_data *yd);
 size_t yahoo_packet_build(struct yahoo_packet *pkt, int pad, gboolean wm,
 guchar **buf);
-void yahoo_packet_read(struct yahoo_packet *pkt, guchar *data, int len);
+void yahoo_packet_read(struct yahoo_packet *pkt, const guchar *data, int len);
 void yahoo_packet_write(struct yahoo_packet *pkt, guchar *data);
 void yahoo_packet_dump(guchar *data, int len);
 size_t yahoo_packet_length(struct yahoo_packet *pkt);