[Pkg-owncloud-commits] [owncloud] 120/258: return boolean in Ciose::stream_seek

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit e556698db71f61fb7fd995b4c593c8712e6a092c
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date:   Mon Sep 22 11:33:55 2014 +0200

    return boolean in Ciose::stream_seek
---
 lib/private/files/stream/close.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/stream/close.php b/lib/private/files/stream/close.php
index 0e1f088..97e45e3 100644
--- a/lib/private/files/stream/close.php
+++ b/lib/private/files/stream/close.php
@@ -29,7 +29,7 @@ class Close {
 	}
 
 	public function stream_seek($offset, $whence = SEEK_SET) {
-		fseek($this->source, $offset, $whence);
+		return fseek($this->source, $offset, $whence) === 0;
 	}
 
 	public function stream_tell() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list