projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/daemon/plugin.c: Initialize vl->host in plugin_value_list_clone().
[collectd.git]
/
src
/
daemon
/
utils_time.c
diff --git
a/src/daemon/utils_time.c
b/src/daemon/utils_time.c
index
45828b3
..
a3a9c33
100644
(file)
--- a/
src/daemon/utils_time.c
+++ b/
src/daemon/utils_time.c
@@
-180,7
+180,7
@@
int format_rfc3339 (char *buffer, size_t buffer_size, struct tm const *t_tm, lon
size_left -= len;
}
- sstrncpy (
buffer, zone, buffer_size
);
+ sstrncpy (
pos, zone, size_left
);
return 0;
} /* }}} int format_rfc3339 */