| 1689 void jabber_si_parse(JabberStream *js, const char *from, JabberIqType type, |
1689 void jabber_si_parse(JabberStream *js, const char *from, JabberIqType type, |
| 1690 const char *id, xmlnode *si) |
1690 const char *id, xmlnode *si) |
| 1691 { |
1691 { |
| 1692 JabberSIXfer *jsx; |
1692 JabberSIXfer *jsx; |
| 1693 PurpleXfer *xfer; |
1693 PurpleXfer *xfer; |
| 1694 xmlnode *file, *feature, *x, *field, *option, *value, *thumbnail; |
1694 xmlnode *file, *feature, *x, *field, *option, *value; |
| |
1695 #if ENABLE_FT_THUMBNAILS |
| |
1696 xmlnode *thumbnail; |
| |
1697 #endif |
| 1695 const char *stream_id, *filename, *filesize_c, *profile; |
1698 const char *stream_id, *filename, *filesize_c, *profile; |
| 1696 guint64 filesize_64 = 0; |
1699 guint64 filesize_64 = 0; |
| 1697 size_t filesize = 0; |
1700 size_t filesize = 0; |
| 1698 |
1701 |
| 1699 if(!(profile = xmlnode_get_attrib(si, "profile")) || |
1702 if(!(profile = xmlnode_get_attrib(si, "profile")) || |