projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix printing of JSON values.
[collection4.git]
/
src
/
action_show_graph_json.c
diff --git
a/src/action_show_graph_json.c
b/src/action_show_graph_json.c
index
36de76c
..
d365205
100644
(file)
--- a/
src/action_show_graph_json.c
+++ b/
src/action_show_graph_json.c
@@
-46,7
+46,8
@@
static int write_buffer (char *buffer, size_t buffer_size) /* {{{ */
while (buffer_size > 0)
{
- status = fwrite (buffer, buffer_size, /* nmemb = */ 1, stdout);
+ status = fwrite (buffer, /* size = */ 1,
+ /* nmemb = */ buffer_size, stdout);
if (status == 0)
return (errno);