projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Auto-Merge pull request #2850 from rpv-tomsk/collectd-collectd-5.8
[collectd.git]
/
src
/
uuid.c
diff --git
a/src/uuid.c
b/src/uuid.c
index
4846841
..
1cb9027
100644
(file)
--- a/
src/uuid.c
+++ b/
src/uuid.c
@@
-193,7
+193,7
@@
static int uuid_init(void) {
char *uuid = uuid_get_local();
if (uuid) {
-
sstrncpy(hostname_g, uuid, DATA_MAX_NAME_LEN
);
+
hostname_set(uuid
);
sfree(uuid);
return 0;
}