Mercurial > pidgin
comparison libgaim/protocols/qq/send_file.h @ 14896:fe184dbde619
[gaim-migrate @ 17668]
Eliminate this union, as suggested by elb and nosnilmot.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Sun, 05 Nov 2006 00:11:52 +0000 |
parents | dfd272ab67e7 |
children | c039c920e11c |
comparison
equal
deleted
inserted
replaced
14895:717ea4589f8d | 14896:fe184dbde619 |
---|---|
35 */ | 35 */ |
36 int major_fd; | 36 int major_fd; |
37 int minor_fd; | 37 int minor_fd; |
38 int sender_fd; | 38 int sender_fd; |
39 int recv_fd; | 39 int recv_fd; |
40 union { | 40 FILE *dest_fp; |
41 FILE *dest_fp; | 41 /* guint8 *buffer; */ |
42 guint8 *buffer; | |
43 } u; | |
44 gboolean use_major; | 42 gboolean use_major; |
45 } ft_info; | 43 } ft_info; |
46 | 44 |
47 void qq_process_recv_file_accept(guint8 *data, guint8 **cursor, gint data_len, | 45 void qq_process_recv_file_accept(guint8 *data, guint8 **cursor, gint data_len, |
48 guint32 sender_uid, GaimConnection *gc); | 46 guint32 sender_uid, GaimConnection *gc); |