Mercurial > pidgin.yaz
comparison libgaim/protocols/qq/send_file.c @ 14804:dfd272ab67e7
[gaim-migrate @ 17569]
Let qq compile on Solaris. Patch thanks to Torrey McMahon (tmcmahon2) and Taso N. Devetzis (devetzis).
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Mon, 23 Oct 2006 20:21:54 +0000 |
parents | a169177ffa4e |
children | c8195687d217 |
comparison
equal
deleted
inserted
replaced
14803:967c39d78bc4 | 14804:dfd272ab67e7 |
---|---|
202 ft_info *info; | 202 ft_info *info; |
203 g_return_if_fail(xfer != NULL && xfer->data != NULL); | 203 g_return_if_fail(xfer != NULL && xfer->data != NULL); |
204 info = (ft_info *) xfer->data; | 204 info = (ft_info *) xfer->data; |
205 | 205 |
206 qq_xfer_close_file(xfer); | 206 qq_xfer_close_file(xfer); |
207 if (info->dest_fp != NULL) { | 207 if (info->u.dest_fp != NULL) { |
208 fclose(info->dest_fp); | 208 fclose(info->u.dest_fp); |
209 gaim_debug(GAIM_DEBUG_INFO, "QQ", "file closed\n"); | 209 gaim_debug(GAIM_DEBUG_INFO, "QQ", "file closed\n"); |
210 } | 210 } |
211 if (info->major_fd != 0) { | 211 if (info->major_fd != 0) { |
212 close(info->major_fd); | 212 close(info->major_fd); |
213 gaim_debug(GAIM_DEBUG_INFO, "QQ", "major port closed\n"); | 213 gaim_debug(GAIM_DEBUG_INFO, "QQ", "major port closed\n"); |