projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add format attribute to varargs functions
[collectd.git]
/
src
/
utils_format_json.c
diff --git
a/src/utils_format_json.c
b/src/utils_format_json.c
index
2c0e4cd
..
800b421
100644
(file)
--- a/
src/utils_format_json.c
+++ b/
src/utils_format_json.c
@@
-297,7
+297,7
@@
static int meta_data_keys_to_json (char *buffer, size_t buffer_size, /* {{{ */
}
} /* for (keys) */
- if (offset
<
= 0)
+ if (offset
=
= 0)
return (ENOENT);
buffer[0] = '{'; /* replace leading ',' */