On Wed, Dec 01, 2004 at 08:33:10AM -0400, Armin Bauer wrote:
> Hmmm... that code is really interesting:
>
>
> int objlen = 65536;
> sync_object_type objtype;
>
> filename = g_strdup_printf("telecom/pb/luid/%s.vcf", luid);
> objlen = 10240;
>
>
> i wonder why objlen is assigned twice. i guess someone must have had a
> reason to limit the objlen. Does anyone know why (Not that we break
> something else by removing this limit)?
>
Does anyone know if it is possible to obtain the size of a file with
OBEX? Then the size of "telecom/pb/luid/<luid>.vcf" could be obtained
and objbuf allocated appropriately.
[snip]
/Jonas
--
Jonas Birm�, ([EMAIL PROTECTED]) /* All generalizations are false,
including
http://home.birme.se/~birme/ this one. -- Mark Twain
*/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Multisync-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-devel