Revision: 9108
          http://playerstage.svn.sourceforge.net/playerstage/?rev=9108&view=rev
Author:   thjc
Date:     2012-11-17 10:06:02 +0000 (Sat, 17 Nov 2012)
Log Message:
-----------
gz functions should use gzfile not file

Modified Paths:
--------------
    code/player/trunk/server/drivers/shell/readlog.cc

Modified: code/player/trunk/server/drivers/shell/readlog.cc
===================================================================
--- code/player/trunk/server/drivers/shell/readlog.cc   2012-11-16 19:17:09 UTC 
(rev 9107)
+++ code/player/trunk/server/drivers/shell/readlog.cc   2012-11-17 10:06:02 UTC 
(rev 9108)
@@ -672,7 +672,7 @@
       // back up to the beginning of the file
 #if HAVE_Z
       if (this->gzfile)
-        ret = gzseek((gzFile)this->file,0,SEEK_SET);
+        ret = gzseek(this->gzfile,0,SEEK_SET);
       else
         ret = fseek(this->file,0,SEEK_SET);
 #else
@@ -718,7 +718,7 @@
       // compared to fgets (on uncompressed files), so use the latter.
 #if HAVE_Z
       if (this->gzfile)
-        ret = (gzgets((gzFile)this->file, this->line, this->line_size) == 
NULL);
+        ret = (gzgets(this->gzfile, this->line, this->line_size) == NULL);
       else
         ret = (fgets(this->line, this->line_size, (FILE*) this->file) == NULL);
 #else

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Playerstage-commit mailing list
Playerstage-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to