Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/plugins


Modified Files:
        evfs_fs_gzip.c 


Log Message:
* Include new headers in install

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_gzip.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evfs_fs_gzip.c      22 Nov 2005 10:05:11 -0000      1.3
+++ evfs_fs_gzip.c      10 Jan 2006 08:00:51 -0000      1.4
@@ -275,7 +275,7 @@
                gfile->stream.next_in = (unsigned char*)gfile->buffer;
                gfile->stream.avail_in = res;
        } else {
-               printf("Res returnde an error: %d\n", res);
+               return -1;
                //exit(0);
        }
 
@@ -297,6 +297,8 @@
 
        while (gfile->stream.avail_out != 0) {
                int res = evfs_gzip_populate_buffer(client,file);
+               if (res < 0) return -1;
+               
                //printf("Avail_out starts at %d\n", bfile->stream.avail_out);
                z_result = inflate(&gfile->stream, Z_NO_FLUSH);
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to