From: Nick Bowler Date: Tue, 28 Jan 2014 02:41:55 +0000 (-0500) Subject: liblbx: Always return a value in file_seek. X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/06a82a827480c9701487b216a20528d160262118 liblbx: Always return a value in file_seek. This function did not return any value on success so it was only by chance that it seemed to work. --- diff --git a/src/fops.c b/src/fops.c index e546b10..26b392f 100644 --- a/src/fops.c +++ b/src/fops.c @@ -39,6 +39,8 @@ static int file_seek(void *handle, long offset, int whence) lbx_error_raise(-errno); return -1; } + + return 0; } static long file_tell(void *handle)