Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
69b7dae3
Commit
69b7dae3
authored
Aug 22, 2014
by
Damien George
Browse files
py: Small cleanup in stream.c.
parent
d5e7f6e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/stream.c
View file @
69b7dae3
...
...
@@ -225,8 +225,7 @@ STATIC mp_obj_t stream_readall(mp_obj_t self_in) {
int
total_size
=
0
;
vstr_t
*
vstr
=
vstr_new_size
(
DEFAULT_BUFFER_SIZE
);
char
*
buf
=
vstr_str
(
vstr
);
char
*
p
=
buf
;
char
*
p
=
vstr_str
(
vstr
);
int
error
;
int
current_read
=
DEFAULT_BUFFER_SIZE
;
while
(
true
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment