Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/oob.c @ 32754:e164f7815b52
Update XMPP for 64-bit transfers.
Refs #8477.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 16 Oct 2011 06:52:12 +0000 |
parents | b6defcebfe4b |
children | 2ec94166be43 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/oob.c Sun Oct 16 06:12:25 2011 +0000 +++ b/libpurple/protocols/jabber/oob.c Sun Oct 16 06:52:12 2011 +0000 @@ -137,8 +137,8 @@ *tmp = '\0'; lenstr = strstr(jox->headers->str, "Content-Length: "); if(lenstr) { - int size; - sscanf(lenstr, "Content-Length: %d", &size); + goffset size; + sscanf(lenstr, "Content-Length: %" G_GOFFSET_FORMAT, &size); purple_xfer_set_size(xfer, size); } purple_xfer_set_read_fnc(xfer, NULL);