libpurple/protocols/jabber/si.c

changeset 31522
735729841805
parent 31294
73607ab89c6f
child 31644
f6b51c834b25
equal deleted inserted replaced
31521:06233b79d75e 31522:735729841805
1697 1697
1698 if(!(filename = xmlnode_get_attrib(file, "name"))) 1698 if(!(filename = xmlnode_get_attrib(file, "name")))
1699 return; 1699 return;
1700 1700
1701 if((filesize_c = xmlnode_get_attrib(file, "size"))) 1701 if((filesize_c = xmlnode_get_attrib(file, "size")))
1702 filesize = atoi(filesize_c); 1702 filesize = strtoul(filesize_c, NULL, 10);
1703 1703
1704 if(!(feature = xmlnode_get_child(si, "feature"))) 1704 if(!(feature = xmlnode_get_child(si, "feature")))
1705 return; 1705 return;
1706 1706
1707 if(!(x = xmlnode_get_child_with_namespace(feature, "x", "jabber:x:data"))) 1707 if(!(x = xmlnode_get_child_with_namespace(feature, "x", "jabber:x:data")))

mercurial