Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome #194

Merged
merged 3 commits into from Dec 30, 2012
Merged

Chrome #194

merged 3 commits into from Dec 30, 2012

Conversation

elupus
Copy link
Contributor

@elupus elupus commented Dec 29, 2012

This series fixes up web access from chrome

@@ -493,7 +493,8 @@ ssize_t fb_read ( fb_file *fp, void *buf, size_t count )
memcpy(buf, fp->buf + fp->pos, count);
fp->pos += count;
} else if (fp->type == FB_DIRECT) {
fp->pos += fread(buf, 1, count, fp->d.cur);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't see the point of this, unless you're going to check count is valid (i.e. not -1 = error). It equates to the same code.

EDIT: scratch that I've been corrected, count is used to return. Ignore me.

@adamsutton adamsutton merged commit f980a3a into tvheadend:master Dec 30, 2012
@elupus elupus deleted the chrome branch December 30, 2012 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants