comparison libpurple/protocols/jabber/si.c @ 31982:aee75010c188

jabber: This seems slightly more straightforward to me.
author Paul Aurich <paul@darkrain42.org>
date Tue, 03 May 2011 05:32:23 +0000
parents 79ae7200a11a
children 380f530c3f86 ac88c8fc3f47
comparison
equal deleted inserted replaced
31981:79ae7200a11a 31982:aee75010c188
1796 NS_THUMBS))) { 1796 NS_THUMBS))) {
1797 const char *cid = xmlnode_get_attrib(thumbnail, "cid"); 1797 const char *cid = xmlnode_get_attrib(thumbnail, "cid");
1798 if (cid) { 1798 if (cid) {
1799 jabber_data_request(js, cid, purple_xfer_get_remote_user(xfer), 1799 jabber_data_request(js, cid, purple_xfer_get_remote_user(xfer),
1800 NULL, TRUE, jabber_si_thumbnail_cb, xfer); 1800 NULL, TRUE, jabber_si_thumbnail_cb, xfer);
1801 } else { 1801 return;
1802 purple_xfer_request(xfer); 1802 }
1803 } 1803 }
1804 } else { 1804 #endif
1805 purple_xfer_request(xfer); 1805
1806 }
1807 #else
1808 purple_xfer_request(xfer); 1806 purple_xfer_request(xfer);
1809 #endif
1810 } 1807 }
1811 1808
1812 void 1809 void
1813 jabber_si_init(void) 1810 jabber_si_init(void)
1814 { 1811 {