2008/2/13 Massimiliano Calamelli <[EMAIL PROTECTED]>: > Hi all, i'm going on with my works for wallpaper fetcher, and now i'm > testing ecore_con_url features, but i found two problems. > > ** Problems ** > 0) downloading of text data: the downloaded data contains garbage > 1) downloading of binary data: the downloaded data is smaller than > the original data
> ** Attachments ** > ecore_con.diff : a patch to solve problem 0) > ecore_con_wget.c : my test application that i use to understand how > ecore_con_url works > I think the problem is outside test app. You should use fwrite and use the size of the received data instead of calling fputs. You can't be sure that the terminate '\0' is in this data packet and with binary data you must assume that fputs will truncate the data on the first '\0'. -- Cedric BAIL ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel