Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
1989e827
Commit
1989e827
authored
Jan 09, 2004
by
Niels Möller
Browse files
(write_string): Treat short item count as an error.
Rev: src/nettle/examples/io.c:1.6
parent
d7ed3c13
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/io.c
View file @
1989e827
...
...
@@ -129,7 +129,7 @@ write_string(FILE *f, unsigned size, const char *buffer)
{
size_t
res
=
fwrite
(
buffer
,
1
,
size
,
f
);
return
res
>
0
;
return
res
==
size
;
}
int
...
...
Write
Preview
Supports
Markdown
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